mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Fixed selection flag not being used.
This commit is contained in:
parent
d68acb78bf
commit
4c5de7a7b0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user