|
|
@ -1630,15 +1630,16 @@ int InitPlatform(void) |
|
|
|
char *glfwPlatform = ""; |
|
|
|
switch (glfwGetPlatform()) |
|
|
|
{ |
|
|
|
case GLFW_PLATFORM_WIN32: glfwPlatform = "Win32"; break; |
|
|
|
case GLFW_PLATFORM_COCOA: glfwPlatform = "Cocoa"; break; |
|
|
|
case GLFW_PLATFORM_WIN32: glfwPlatform = "Win32"; break; |
|
|
|
case GLFW_PLATFORM_COCOA: glfwPlatform = "Cocoa"; break; |
|
|
|
case GLFW_PLATFORM_WAYLAND: glfwPlatform = "Wayland"; break; |
|
|
|
case GLFW_PLATFORM_X11: glfwPlatform = "X11"; break; |
|
|
|
case GLFW_PLATFORM_NULL: glfwPlatform = "Null"; break; |
|
|
|
case GLFW_PLATFORM_X11: glfwPlatform = "X11"; break; |
|
|
|
case GLFW_PLATFORM_NULL: glfwPlatform = "Null"; break; |
|
|
|
default: break; |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|
TRACELOG(LOG_INFO, "PLATFORM: DESKTOP (GLFW): Initialized successfully"); |
|
|
|
TRACELOG(LOG_INFO, "PLATFORM: DESKTOP (GLFW - %s): Initialized successfully", glfwPlatform); |
|
|
|
|
|
|
|
return 0; |
|
|
|
} |
|
|
|