s/GLX_RGBA_BIT/GLX_RGBA_TYPE/ (bug 4237)

This commit is contained in:
Brian Paul 2005-08-25 13:18:53 +00:00
parent 61d386a93f
commit 7e6553c1aa

View 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);