فهرست منبع

Fixed selection flag not being used.

Camilla Berglund 13 سال پیش
والد
کامیت
4c5de7a7b0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/win32_fullscreen.c

+ 1 - 1
src/win32_fullscreen.c

@@ -130,7 +130,7 @@ void _glfwSetVideoMode(int* width, int* height,
     closestRate   = *refreshRate;
 
     if (getClosestVideoMode(&closestWidth, &closestHeight,
-                            &closestBPP, &closestRate, GL_FALSE))
+                            &closestBPP, &closestRate, exactBPP))
     {
         dm.dmSize = sizeof(DEVMODE);
         dm.dmFields     = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL;