File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2688,7 +2688,9 @@ static bool InitGraphicsDevice(int width, int height)
26882688 //glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API); // OpenGL API to use. Alternative: GLFW_OPENGL_ES_API
26892689 //glfwWindowHint(GLFW_AUX_BUFFERS, 0); // Number of auxiliar buffers
26902690#if defined(PLATFORM_DESKTOP ) && defined(SUPPORT_HIGH_DPI )
2691- // NOTE: If using external GLFW, it requires latest GLFW 3.3 for this functionality
2691+ // Resize window content area based on the monitor content scale.
2692+ // NOTE: This hint only has an effect on platforms where screen coordinates and pixels always map 1:1 such as Windows and X11.
2693+ // On platforms like macOS the resolution of the framebuffer is changed independently of the window size.
26922694 glfwWindowHint (GLFW_SCALE_TO_MONITOR , GLFW_TRUE ); // Scale content area based on the monitor content scale where window is placed on
26932695#endif
26942696
You can’t perform that action at this time.
0 commit comments