diff options
Diffstat (limited to 'tests/OffscreenContext.cc')
-rw-r--r-- | tests/OffscreenContext.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/OffscreenContext.cc b/tests/OffscreenContext.cc index f5eabe0..c50097f 100644 --- a/tests/OffscreenContext.cc +++ b/tests/OffscreenContext.cc @@ -197,7 +197,7 @@ OffscreenContext *create_offscreen_context(int w, int h) } // glewInit must come after Context creation and before FBO calls. - glewInit(); + GLenum err = glewInit(); if (GLEW_OK != err) { fprintf(stderr, "Unable to init GLEW: %s\n", glewGetErrorString(err)); exit(1); |