mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-10-26 12:27:01 +00:00 
			
		
		
		
	Added comments related to #837
This commit is contained in:
		| @@ -2688,7 +2688,9 @@ 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_CLIENT_API, GLFW_OPENGL_API); // OpenGL API to use. Alternative: GLFW_OPENGL_ES_API | ||||||
|     //glfwWindowHint(GLFW_AUX_BUFFERS, 0);          // Number of auxiliar buffers |     //glfwWindowHint(GLFW_AUX_BUFFERS, 0);          // Number of auxiliar buffers | ||||||
| #if defined(PLATFORM_DESKTOP) && defined(SUPPORT_HIGH_DPI) | #if defined(PLATFORM_DESKTOP) && defined(SUPPORT_HIGH_DPI) | ||||||
|     // NOTE: If using external GLFW, it requires latest GLFW 3.3 for this functionality |     // Resize window content area based on the monitor content scale. | ||||||
|  |     // NOTE: This hint only has an effect on platforms where screen coordinates and pixels always map 1:1 such as Windows and X11.  | ||||||
|  |     // On platforms like macOS the resolution of the framebuffer is changed independently of the window size. | ||||||
|     glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);   // Scale content area based on the monitor content scale where window is placed on |     glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);   // Scale content area based on the monitor content scale where window is placed on | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ray
					Ray