summaryrefslogtreecommitdiff
path: root/tests/OffscreenContextWGL.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-10-16 01:22:06 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-10-16 01:22:06 (GMT)
commitde53382a3d1a7f47684cdda7c27d976c2e234ce9 (patch)
treebdc7ae6f0e6974bee207ffc5dd55697ab15dbf13 /tests/OffscreenContextWGL.cc
parent7332ec9fe260140ff74506fa2ba95e0a2bbf352e (diff)
small cleanup
Diffstat (limited to 'tests/OffscreenContextWGL.cc')
-rw-r--r--tests/OffscreenContextWGL.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/OffscreenContextWGL.cc b/tests/OffscreenContextWGL.cc
index f120384..844c073 100644
--- a/tests/OffscreenContextWGL.cc
+++ b/tests/OffscreenContextWGL.cc
@@ -151,14 +151,12 @@ OffscreenContext *create_offscreen_context(int w, int h)
// This call alters ctx->window and ctx->openGLContext
// and ctx->dev_context if successfull
if (!create_wgl_dummy_context( *ctx )) {
- fflush(stderr);
return NULL;
}
GLenum err = glewInit(); // must come after Context creation and before FBO calls.
if (GLEW_OK != err) {
cerr << "Unable to init GLEW: " << glewGetErrorString(err) << "\n";
- fflush(stderr);
return NULL;
}
glewCheck();
contact: Jan Huwald // Impressum