diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-11-17 03:36:58 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-11-17 03:36:58 (GMT) |
commit | 1aa73df3b86a853469e8938fdc51388011bab961 (patch) | |
tree | db2aa8ab57671c14320a1da1076103fc5069b43e /tests/OffscreenContextGLX.cc | |
parent | b6b3e52543696c5d6efd85b4d86fc13abb327518 (diff) |
improve info report. add auto-uploading ability for wiki data/images
Diffstat (limited to 'tests/OffscreenContextGLX.cc')
-rw-r--r-- | tests/OffscreenContextGLX.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/OffscreenContextGLX.cc b/tests/OffscreenContextGLX.cc index ed9ef46..0817ce2 100644 --- a/tests/OffscreenContextGLX.cc +++ b/tests/OffscreenContextGLX.cc @@ -100,6 +100,7 @@ string offscreen_context_getinfo(OffscreenContext *ctx) stringstream out; out << "GL context creator: GLX\n" + << "PNG generator: lodepng\n" << "GLX version: " << major << "." << minor << "\n" << get_os_info(); @@ -139,7 +140,8 @@ bool create_glx_dummy_window(OffscreenContext &ctx) GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, - GLX_DEPTH_SIZE, 1, + GLX_ALPHA_SIZE, 1, // extra stuff for fbo-disbaled on-screen testing. + GLX_DEPTH_SIZE, 24, None }; @@ -178,7 +180,6 @@ bool create_glx_dummy_window(OffscreenContext &ctx) // Window xWin = XCreateSimpleWindow( dpy, DefaultRootWindow(dpy), 0,0,42,42, 0,0,0 ); - XSync( dpy, false ); if ( XCreateWindow_failed ) { XFree( visinfo ); |