|
|
@ -3709,8 +3709,8 @@ static bool InitGraphicsDevice(int width, int height) |
|
|
|
|
|
|
|
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB) |
|
|
|
glfwSetErrorCallback(ErrorCallback); |
|
|
|
/* |
|
|
|
// Setup custom allocators to match raylib ones |
|
|
|
/* |
|
|
|
// l">TODO: Setup GLFW custom allocators to match raylib ones |
|
|
|
const GLFWallocator allocator = { |
|
|
|
.allocate = MemAlloc, |
|
|
|
.deallocate = MemFree, |
|
|
@ -3719,8 +3719,7 @@ static bool InitGraphicsDevice(int width, int height) |
|
|
|
}; |
|
|
|
|
|
|
|
glfwInitAllocator(&allocator); |
|
|
|
*/ |
|
|
|
|
|
|
|
*/ |
|
|
|
#if defined(__APPLE__) |
|
|
|
glfwInitHint(GLFW_COCOA_CHDIR_RESOURCES, GLFW_FALSE); |
|
|
|
#endif |
|
|
|