projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb9f68
)
egl_dri2 x11: Fix a typo
author
Feng, Haitao
<haitao.feng@intel.com>
Tue, 29 Mar 2011 05:41:35 +0000
(13:41 +0800)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 30 Mar 2011 12:29:09 +0000
(08:29 -0400)
Signed-off-by: Haitao Feng <haitao.feng@intel.com>
src/egl/drivers/dri2/platform_x11.c
patch
|
blob
|
history
diff --git
a/src/egl/drivers/dri2/platform_x11.c
b/src/egl/drivers/dri2/platform_x11.c
index 30372caadcdfc8b9523737366ee98183bfbfc12c..e7fe95da8e864cbcc7751505a422144f8c005883 100644
(file)
--- a/
src/egl/drivers/dri2/platform_x11.c
+++ b/
src/egl/drivers/dri2/platform_x11.c
@@
-231,7
+231,7
@@
dri2_create_surface(_EGLDriver *drv, _EGLDisplay *disp, EGLint type,
if (dri2_dpy->dri2) {
xcb_dri2_create_drawable (dri2_dpy->conn, dri2_surf->drawable);
} else {
- swrastCreateDrawable(dri2_dpy, dri2_surf, _eglGetConfigKey(conf, EGL_
DEPTH
_SIZE));
+ swrastCreateDrawable(dri2_dpy, dri2_surf, _eglGetConfigKey(conf, EGL_
BUFFER
_SIZE));
}
if (type != EGL_PBUFFER_BIT) {