mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Point made.
This commit is contained in:
parent
23ff318f59
commit
e85455719d
@ -35,7 +35,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
|
||||
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++)
|
||||
|
Loading…
Reference in New Issue
Block a user