diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 16:52:13 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 16:52:13 (GMT) |
commit | c0592dc3b833a91457e28a6d80bcc58c1bb7938d (patch) | |
tree | 2aac2852de4037f6cd14d131d7c28e4c6cc66a20 /tests/OffscreenContext.cc | |
parent | de53382a3d1a7f47684cdda7c27d976c2e234ce9 (diff) |
fix small bugs 1. error reporting 2. fbo teardown
Diffstat (limited to 'tests/OffscreenContext.cc')
-rw-r--r-- | tests/OffscreenContext.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/OffscreenContext.cc b/tests/OffscreenContext.cc index c50097f..0679962 100644 --- a/tests/OffscreenContext.cc +++ b/tests/OffscreenContext.cc @@ -110,7 +110,7 @@ bool create_glx_dummy_window(OffscreenContext &ctx) GLXContext context = glXCreateNewContext( dpy, fbconfigs[0], GLX_RGBA_TYPE, NULL, True ); if ( context == NULL ) { - cerr << "glXGetVisualFromFBConfig failed\n"; + cerr << "glXCreateNewContext failed\n"; XDestroyWindow( dpy, xWin ); XFree( visinfo ); XFree( fbconfigs ); @@ -150,7 +150,7 @@ Bool create_glx_dummy_context(OffscreenContext &ctx) } // glxQueryVersion is not always reliable. Use it, but then - // also check to see if GLX 1.3 functions exist + // also check to see if GLX 1.3 functions exist glXQueryVersion(ctx.xdisplay, &major, &minor); |