|
@@ -76,6 +76,7 @@ int main() |
|
|
|
|
|
|
|
|
glfwMakeContextCurrent(window); |
|
|
glfwMakeContextCurrent(window); |
|
|
#ifdef NANOVG_GLEW |
|
|
#ifdef NANOVG_GLEW |
|
|
|
|
|
glewExperimental = GL_TRUE; |
|
|
if(glewInit() != GLEW_OK) { |
|
|
if(glewInit() != GLEW_OK) { |
|
|
printf("Could not init glew.\n"); |
|
|
printf("Could not init glew.\n"); |
|
|
return -1; |
|
|
return -1; |
|
|