mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-22 18:28:52 -05:00
Fix clang warning : self-comparison always evaluates to false
This commit is contained in:
parent
68122f8134
commit
7a5c2d5f75
|
@ -153,7 +153,7 @@ static void test_modes(GLFWvidmode* modes, int count)
|
|||
|
||||
glfwGetWindowSize(window, &width, &height);
|
||||
|
||||
if (width != modes[i].width || height != height)
|
||||
if (width != modes[i].width || height != modes[i].height)
|
||||
{
|
||||
printf("*** Size mismatch: %ix%i instead of %ix%i\n",
|
||||
width, height,
|
||||
|
|
Loading…
Reference in New Issue
Block a user