Преглед на файлове

Comment HiDPI window request

At least until a proper solution is found!
pull/812/head
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

Зареждане…
Отказ
Запис