s/GLX_RGBA_BIT/GLX_RGBA_TYPE/ (bug 4237)
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 25 Aug 2005 13:18:53 +0000 (13:18 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 25 Aug 2005 13:18:53 +0000 (13:18 +0000)
progs/xdemos/glxgears_fbconfig.c

index ba692b41630436898c7a8f7755142a2e8b1c970e..acbadd21ac52e6d8dec2ec14413f774788938dad 100644 (file)
@@ -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);