瀏覽代碼

Comment HiDPI window request

At least until a proper solution is found!
Ray 6 年之前
父節點
當前提交
152b7471e9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/core.c

+ 2 - 1
src/core.c

@@ -2357,7 +2357,8 @@ static bool InitGraphicsDevice(int width, int height)
     //glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API); // OpenGL API to use. Alternative: GLFW_OPENGL_ES_API
     //glfwWindowHint(GLFW_AUX_BUFFERS, 0);          // Number of auxiliar buffers
 #if defined(PLATFORM_DESKTOP)
-    glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);   // Scale content area based on the monitor content scale where window is placed on
+    // TODO: If using external GLFW, it requires latest GLFW 3.3 for this functionality
+    //glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);   // Scale content area based on the monitor content scale where window is placed on
 #endif
 
     // Check some Window creation flags