Browse Source

Fix for issue #14

shared-context
Mikko Mononen 11 years ago
parent
commit
7fc116418c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      example/example_gl3.c

+ 2
- 0
example/example_gl3.c View File

@@ -99,6 +99,8 @@ int main()
printf("Could not init glew.\n");
return -1;
}
// GLEW generates GL error because it calls glGetString(GL_EXTENSIONS), we'll consume it here.
glGetError();
#endif

#ifdef DEMO_MSAA


Loading…
Cancel
Save