create vulkan textures
This commit is contained in:
8
src/core/textures/gryphn_texture.c
Normal file
8
src/core/textures/gryphn_texture.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "gryphn_texture.h"
|
||||
#include "core/gryphn_platform_functions.h"
|
||||
|
||||
gnReturnCode gnCreateTexture(gnTexture* texture, gnDevice device, const gnTextureInfo info) {
|
||||
*texture = malloc(sizeof(struct gnTexture_t));
|
||||
(*texture)->device = device;
|
||||
return device->deviceFunctions->_gnCreateTexture(*texture, device, info);
|
||||
}
|
Reference in New Issue
Block a user