Browse Source

use glewExperimental = GL_TRUE on 3.2 core profile

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

+ 1
- 0
example/example_gl3.c View File

@@ -76,6 +76,7 @@ int main()

glfwMakeContextCurrent(window);
#ifdef NANOVG_GLEW
glewExperimental = GL_TRUE;
if(glewInit() != GLEW_OK) {
printf("Could not init glew.\n");
return -1;


Loading…
Cancel
Save