summaryrefslogtreecommitdiff
path: root/progs/xdemos
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-08-25 13:18:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-08-25 13:18:53 +0000
commit7e6553c1aa5f1336c61b4826ba8125d2bf72665f (patch)
tree0814988006c236d1b46416dfb5f950455090f1b3 /progs/xdemos
parent61d386a93f862005d1eddb45be91c7d5421aca83 (diff)
s/GLX_RGBA_BIT/GLX_RGBA_TYPE/ (bug 4237)
Diffstat (limited to 'progs/xdemos')
-rw-r--r--progs/xdemos/glxgears_fbconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glxgears_fbconfig.c b/progs/xdemos/glxgears_fbconfig.c
index ba692b4163..acbadd21ac 100644
--- a/progs/xdemos/glxgears_fbconfig.c
+++ b/progs/xdemos/glxgears_fbconfig.c
@@ -467,7 +467,7 @@ make_window( Display *dpy, const char *name,
None, (char **)NULL, 0, &sizehints);
}
- ctx = (*create_new_context)(dpy, fbconfig[0], GLX_RGBA_BIT, NULL, GL_TRUE);
+ ctx = (*create_new_context)(dpy, fbconfig[0], GLX_RGBA_TYPE, NULL, GL_TRUE);
if (!ctx) {
printf("Error: glXCreateNewContext failed\n");
exit(1);