From e85455719d919df74d854d7c07ab95c10084c6e2 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 16 Oct 2013 20:33:28 +0200 Subject: [PATCH] Point made. --- tests/threads.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/threads.c b/tests/threads.c index fc370c3d..f4fcdd9b 100644 --- a/tests/threads.c +++ b/tests/threads.c @@ -35,7 +35,6 @@ #include #include #include -#include typedef struct { @@ -57,8 +56,6 @@ static int thread_main(void* data) const Thread* thread = (const Thread*) data; glfwMakeContextCurrent(thread->window); - assert(glfwGetCurrentContext() == thread->window); - glfwSwapInterval(1); while (running) @@ -118,8 +115,6 @@ int main(void) while (running) { - assert(glfwGetCurrentContext() == NULL); - glfwWaitEvents(); for (i = 0; i < count; i++)