Selaa lähdekoodia

Comment HiDPI window request

At least until a proper solution is found!
pull/812/head
Ray 6 vuotta sitten
vanhempi
commit
152b7471e9
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. +2
    -1
      src/core.c

+ 2
- 1
src/core.c Näytä tiedosto

@ -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_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) #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 #endif
// Check some Window creation flags // Check some Window creation flags

Ladataan…
Peruuta
Tallenna