mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
s/GLX_RGBA_BIT/GLX_RGBA_TYPE/ (bug 4237)
This commit is contained in:
parent
61d386a93f
commit
7e6553c1aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue