Merge branch 'master' into tls

Conflicts:
	src/x11_window.c
This commit is contained in:
Camilla Berglund
2012-08-26 21:56:20 +02:00
16 changed files with 468 additions and 509 deletions
+5 -2
View File
@@ -242,8 +242,11 @@ static void window_refresh_callback(GLFWwindow window)
{
printf("%08x at %0.3f: Window refresh\n", counter++, glfwGetTime());
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);
if (glfwGetCurrentContext())
{
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);
}
}
static void window_focus_callback(GLFWwindow window, int activated)