Skip to content

Commit 6a2e51e

Browse files
committed
Added comments related to #837
1 parent e6d304c commit 6a2e51e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/core.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)