Module: Mesa
Branch: master
Commit: 58f95f9d01f1fe2c260ca87f1ee74d9710947c12
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=58f95f9d01f1fe2c260ca87f1ee74d9710947c12

Author: Feng, Haitao <haitao.f...@intel.com>
Date:   Tue Mar 29 13:41:35 2011 +0800

egl_dri2 x11: Fix a typo

Signed-off-by: Haitao Feng <haitao.f...@intel.com>

---

 src/egl/drivers/dri2/platform_x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/egl/drivers/dri2/platform_x11.c 
b/src/egl/drivers/dri2/platform_x11.c
index 30372ca..e7fe95d 100644
--- 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) {

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to