Use monitor callback event more strictly

This commit is contained in:
Camilla Berglund
2015-12-13 19:11:21 +01:00
parent 810bab7391
commit addb977ef1
2 changed files with 10 additions and 4 deletions

View File

@@ -442,7 +442,7 @@ static void monitor_callback(GLFWmonitor* monitor, int event)
x, y,
widthMM, heightMM);
}
else
else if (event == GLFW_DISCONNECTED)
{
printf("%08x at %0.3f: Monitor %s was disconnected\n",
counter++,