diff --git a/projects/apis/opengl/src/instance/opengl_instance.c b/projects/apis/opengl/src/instance/opengl_instance.c index 3e8b973..53ab1b1 100644 --- a/projects/apis/opengl/src/instance/opengl_instance.c +++ b/projects/apis/opengl/src/instance/opengl_instance.c @@ -1,9 +1,9 @@ #include "opengl_instance.h" -gnReturnCode openglCreateInstance(gnInstanceHandle instance, gnInstanceCreateInfo* instanceInfo, gryphnInstanceFunctionLayers* next) { +gnReturnCode openglCreateInstance(gnInstanceHandle instance, gnInstanceCreateInfo* instanceInfo, gryphnInstanceFunctionLayers* next, gnAllocators* allocators) { if (instanceInfo->coreAPI != GN_RENDERINGAPI_OPENGL) return GN_UNSUPPORTED_API; return GN_SUCCESS; } -void openglDestroyInstance(gnInstanceHandle instance, gryphnInstanceFunctionLayers* next) { +void openglDestroyInstance(gnInstanceHandle instance, gryphnInstanceFunctionLayers* next, gnAllocators* allocators) { } diff --git a/projects/apis/opengl/src/instance/opengl_instance.h b/projects/apis/opengl/src/instance/opengl_instance.h index 0f6a5e1..c59e65b 100644 --- a/projects/apis/opengl/src/instance/opengl_instance.h +++ b/projects/apis/opengl/src/instance/opengl_instance.h @@ -4,5 +4,5 @@ typedef struct gnPlatformInstance_t {} gnPlatformInstance; -gnReturnCode openglCreateInstance(gnInstanceHandle instance, gnInstanceCreateInfo* instanceInfo, gryphnInstanceFunctionLayers* next); -void openglDestroyInstance(gnInstanceHandle instance, gryphnInstanceFunctionLayers* next); +gnReturnCode openglCreateInstance(gnInstanceHandle instance, gnInstanceCreateInfo* instanceInfo, gryphnInstanceFunctionLayers* next, gnAllocators* allocators); +void openglDestroyInstance(gnInstanceHandle instance, gryphnInstanceFunctionLayers* next, gnAllocators* allocators);