Update comment
This commit is contained in:
parent
6e8387468f
commit
8649032428
1 changed files with 3 additions and 4 deletions
|
@ -3709,8 +3709,8 @@ static bool InitGraphicsDevice(int width, int height)
|
||||||
|
|
||||||
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
|
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
|
||||||
glfwSetErrorCallback(ErrorCallback);
|
glfwSetErrorCallback(ErrorCallback);
|
||||||
/*
|
/*
|
||||||
// Setup custom allocators to match raylib ones
|
// TODO: Setup GLFW custom allocators to match raylib ones
|
||||||
const GLFWallocator allocator = {
|
const GLFWallocator allocator = {
|
||||||
.allocate = MemAlloc,
|
.allocate = MemAlloc,
|
||||||
.deallocate = MemFree,
|
.deallocate = MemFree,
|
||||||
|
@ -3719,8 +3719,7 @@ static bool InitGraphicsDevice(int width, int height)
|
||||||
};
|
};
|
||||||
|
|
||||||
glfwInitAllocator(&allocator);
|
glfwInitAllocator(&allocator);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
glfwInitHint(GLFW_COCOA_CHDIR_RESOURCES, GLFW_FALSE);
|
glfwInitHint(GLFW_COCOA_CHDIR_RESOURCES, GLFW_FALSE);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue