diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-05-10 22:07:57 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-05-10 22:07:57 +0000 |
commit | d6693c4294249c041ac20ad4e67a1bfa23f677e8 (patch) | |
tree | 9a6cc6fb7170e8b40914cb004e8cbb43186a24ff /progs/xdemos | |
parent | 352d4dbfb24c65f327759c00c7db7d30a9482e35 (diff) |
s/GLX_PIXMAP_BIT_SGIX/GLX_PBUFFER_BIT_SGIX/
Diffstat (limited to 'progs/xdemos')
-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 bc9d8124c8..88e6a4ff94 100644 --- a/progs/xdemos/pbdemo.c +++ b/progs/xdemos/pbdemo.c @@ -70,7 +70,7 @@ MakePbuffer( Display *dpy, int screen, int width, int height ) { /* Single buffered, with depth buffer */ GLX_RENDER_TYPE_SGIX, GLX_RGBA_BIT_SGIX, - GLX_DRAWABLE_TYPE_SGIX, GLX_PIXMAP_BIT_SGIX, + GLX_DRAWABLE_TYPE_SGIX, GLX_PBUFFER_BIT_SGIX, GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, @@ -82,7 +82,7 @@ MakePbuffer( Display *dpy, int screen, int width, int height ) { /* Double buffered, with depth buffer */ GLX_RENDER_TYPE_SGIX, GLX_RGBA_BIT_SGIX, - GLX_DRAWABLE_TYPE_SGIX, GLX_PIXMAP_BIT_SGIX, + GLX_DRAWABLE_TYPE_SGIX, GLX_PBUFFER_BIT_SGIX, GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, @@ -94,7 +94,7 @@ MakePbuffer( Display *dpy, int screen, int width, int height ) { /* Single bufferd, without depth buffer */ GLX_RENDER_TYPE_SGIX, GLX_RGBA_BIT_SGIX, - GLX_DRAWABLE_TYPE_SGIX, GLX_PIXMAP_BIT_SGIX, + GLX_DRAWABLE_TYPE_SGIX, GLX_PBUFFER_BIT_SGIX, GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, @@ -106,7 +106,7 @@ MakePbuffer( Display *dpy, int screen, int width, int height ) { /* Double bufferd, without depth buffer */ GLX_RENDER_TYPE_SGIX, GLX_RGBA_BIT_SGIX, - GLX_DRAWABLE_TYPE_SGIX, GLX_PIXMAP_BIT_SGIX, + GLX_DRAWABLE_TYPE_SGIX, GLX_PBUFFER_BIT_SGIX, GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, @@ -268,7 +268,6 @@ InitGL(void) glMatrixMode( GL_MODELVIEW ); glLoadIdentity(); glTranslatef( 0.0, 0.0, -15.0 ); - } |