mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 19:42:00 +00:00
parent
10c0eb648a
commit
b56fce1570
@ -39,7 +39,7 @@
|
|||||||
static int compareVideoModes(const void* fp, const void* sp)
|
static int compareVideoModes(const void* fp, const void* sp)
|
||||||
{
|
{
|
||||||
const GLFWvidmode* fm = fp;
|
const GLFWvidmode* fm = fp;
|
||||||
const GLFWvidmode* sm = fp;
|
const GLFWvidmode* sm = sp;
|
||||||
const int fbpp = fm->redBits + fm->greenBits + fm->blueBits;
|
const int fbpp = fm->redBits + fm->greenBits + fm->blueBits;
|
||||||
const int sbpp = sm->redBits + sm->greenBits + sm->blueBits;
|
const int sbpp = sm->redBits + sm->greenBits + sm->blueBits;
|
||||||
const int farea = fm->width * fm->height;
|
const int farea = fm->width * fm->height;
|
||||||
|
Loading…
Reference in New Issue
Block a user