File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1570,6 +1570,17 @@ int InitPlatform(void)
1570
1570
CORE .Storage .basePath = GetWorkingDirectory ();
1571
1571
//----------------------------------------------------------------------------
1572
1572
1573
+ char * glfwPlatform = "" ;
1574
+ switch (glfwGetPlatform ())
1575
+ {
1576
+ case GLFW_PLATFORM_WIN32 : glfwPlatform = "Win32" ; break ;
1577
+ case GLFW_PLATFORM_COCOA : glfwPlatform = "Cocoa" ; break ;
1578
+ case GLFW_PLATFORM_WAYLAND : glfwPlatform = "Wayland" ; break ;
1579
+ case GLFW_PLATFORM_X11 : glfwPlatform = "X11" ; break ;
1580
+ case GLFW_PLATFORM_NULL : glfwPlatform = "Null" ; break ;
1581
+ }
1582
+
1583
+ TRACELOG (LOG_INFO , "GLFW platform: %s" , glfwPlatform );
1573
1584
TRACELOG (LOG_INFO , "PLATFORM: DESKTOP (GLFW): Initialized successfully" );
1574
1585
1575
1586
return 0 ;
You can’t perform that action at this time.
0 commit comments