diff --git a/example/example_gl3.c b/example/example_gl3.c index 4aafbbf..0bf1739 100644 --- a/example/example_gl3.c +++ b/example/example_gl3.c @@ -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