projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c0474
)
egl_dri2: Fix __DRI_DRI2 version 1 support.
author
Chia-I Wu
<olv@lunarg.com>
Wed, 10 Nov 2010 15:54:45 +0000
(23:54 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Wed, 10 Nov 2010 15:57:50 +0000
(23:57 +0800)
Correctly set __DRI_API_OPENGL flag.
src/egl/drivers/dri2/egl_dri2.c
patch
|
blob
|
history
diff --git
a/src/egl/drivers/dri2/egl_dri2.c
b/src/egl/drivers/dri2/egl_dri2.c
index 20862e41af4fe2dc065c48125e9c27474b67adcc..6db44c7aa8723583e789d21a001e527e6e138dde 100644
(file)
--- a/
src/egl/drivers/dri2/egl_dri2.c
+++ b/
src/egl/drivers/dri2/egl_dri2.c
@@
-750,7
+750,7
@@
dri2_create_screen(_EGLDisplay *disp)
if (dri2_dpy->dri2->base.version >= 2)
api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen);
else
- api_mask = __DRI_API_OPENGL;
+ api_mask =
1 <<
__DRI_API_OPENGL;
disp->ClientAPIsMask = 0;
if (api_mask & (1 <<__DRI_API_OPENGL))