diff --git a/tests/reopen.c b/tests/reopen.c index 6f69b901..ca79eed6 100644 --- a/tests/reopen.c +++ b/tests/reopen.c @@ -124,7 +124,7 @@ int main(int argc, char** argv) { GLFWmonitor* monitor = NULL; - if (count & 1) + if (count % 2 == 0) { int monitorCount; GLFWmonitor** monitors = glfwGetMonitors(&monitorCount);