diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 01:14:35 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 01:14:35 (GMT) |
commit | 7332ec9fe260140ff74506fa2ba95e0a2bbf352e (patch) | |
tree | ab72752cc52e68d1ed77559cdd18d702ffc05b2c /tests/OffscreenContext.cc | |
parent | 7735f5510cdc2d396092d04ed98a2dbaec347608 (diff) |
clean up linux changes to fit with win32 changes.
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); |