gryphn + vulkan stuff for depth textures
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
gnReturnCode gnCreateTexture(gnTexture* texture, gnDevice device, const gnTextureInfo info) {
|
||||
*texture = malloc(sizeof(struct gnTexture_t));
|
||||
(*texture)->device = device;
|
||||
(*texture)->info = info;
|
||||
return device->deviceFunctions->_gnCreateTexture(*texture, device, info);
|
||||
}
|
||||
|
||||
|
@@ -29,6 +29,7 @@ typedef struct gnTextureInfo {
|
||||
struct gnTexture_t {
|
||||
struct gnPlatformTexture_t* texture;
|
||||
gnDeviceHandle device;
|
||||
gnTextureInfo info;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user