diff options
| author | michal <michal@michal-laptop.(none)> | 2007-07-27 10:05:40 +0200 |
|---|---|---|
| committer | michal <michal@michal-laptop.(none)> | 2007-07-27 10:05:40 +0200 |
| commit | e0a26b046764ae80748b347395ab1b27de83651e (patch) | |
| tree | ea702756a3e9cedc3b3c41241cbff0956ddc82bc /progs/xdemos/pbdemo.c | |
| parent | 0360b49afbcd839f99ba0745d01cf9dc5be4d122 (diff) | |
| parent | e3cef5887540016a6d198598cb50bebe09e3f4cf (diff) | |
Merge branch 'master' of git+ssh://michal@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
Diffstat (limited to 'progs/xdemos/pbdemo.c')
| -rw-r--r-- | progs/xdemos/pbdemo.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/progs/xdemos/pbdemo.c b/progs/xdemos/pbdemo.c index efdfdfa452..7db0017b33 100644 --- a/progs/xdemos/pbdemo.c +++ b/progs/xdemos/pbdemo.c @@ -93,7 +93,7 @@ MakePbuffer( Display *dpy, int screen, int width, int height ) None }, { - /* Single bufferd, without depth buffer */ + /* Single buffered, without depth buffer */ GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_DRAWABLE_TYPE, GLX_PBUFFER_BIT, GLX_RED_SIZE, 1, @@ -105,7 +105,7 @@ MakePbuffer( Display *dpy, int screen, int width, int height ) None }, { - /* Double bufferd, without depth buffer */ + /* Double buffered, without depth buffer */ GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_DRAWABLE_TYPE, GLX_PBUFFER_BIT, GLX_RED_SIZE, 1, @@ -130,9 +130,8 @@ MakePbuffer( Display *dpy, int screen, int width, int height ) /* Get list of possible frame buffer configurations */ fbConfigs = ChooseFBConfig(dpy, screen, fbAttribs[attempt], &nConfigs); if (nConfigs==0 || !fbConfigs) { - printf("Error: glXChooseFBConfig failed\n"); - XCloseDisplay(dpy); - return 0; + printf("Note: glXChooseFBConfig(%s) failed\n", fbString[attempt]); + continue; } #if 0 /*DEBUG*/ |
