summaryrefslogtreecommitdiff
path: root/tests/OffscreenContext.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-10-16 01:14:35 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-10-16 01:14:35 (GMT)
commit7332ec9fe260140ff74506fa2ba95e0a2bbf352e (patch)
treeab72752cc52e68d1ed77559cdd18d702ffc05b2c /tests/OffscreenContext.cc
parent7735f5510cdc2d396092d04ed98a2dbaec347608 (diff)
clean up linux changes to fit with win32 changes.
Diffstat (limited to 'tests/OffscreenContext.cc')
-rw-r--r--tests/OffscreenContext.cc2
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);
contact: Jan Huwald // Impressum