mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Formatting (no code changes).
This commit is contained in:
parent
af10b06439
commit
4914fd6842
|
@ -56,10 +56,10 @@ GLFWAPI int glfwGetVideoModes(GLFWvidmode* list, int maxcount)
|
||||||
swap = 0;
|
swap = 0;
|
||||||
for (i = 0; i < count - 1; i++)
|
for (i = 0; i < count - 1; i++)
|
||||||
{
|
{
|
||||||
res1 = list[i].width*list[i].height;
|
res1 = list[i].width * list[i].height;
|
||||||
depth1 = list[i].redBits+list[i].greenBits+list[i].blueBits;
|
depth1 = list[i].redBits + list[i].greenBits + list[i].blueBits;
|
||||||
res2 = list[i + 1].width*list[i + 1].height;
|
res2 = list[i + 1].width * list[i + 1].height;
|
||||||
depth2 = list[i + 1].redBits+list[i + 1].greenBits+
|
depth2 = list[i + 1].redBits + list[i + 1].greenBits +
|
||||||
list[i + 1].blueBits;
|
list[i + 1].blueBits;
|
||||||
|
|
||||||
if ((depth2 < depth1) || ((depth2 == depth1) && (res2 < res1)))
|
if ((depth2 < depth1) || ((depth2 == depth1) && (res2 < res1)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user