1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-22 18:28:52 -05:00
Fixes regression cased by 10c0eb648a.
This commit is contained in:
Camilla Berglund 2015-12-15 22:35:51 +01:00
parent 10c0eb648a
commit b56fce1570

View File

@ -39,7 +39,7 @@
static int compareVideoModes(const void* fp, const void* sp)
{
const GLFWvidmode* fm = fp;
const GLFWvidmode* sm = fp;
const GLFWvidmode* sm = sp;
const int fbpp = fm->redBits + fm->greenBits + fm->blueBits;
const int sbpp = sm->redBits + sm->greenBits + sm->blueBits;
const int farea = fm->width * fm->height;