[Mesa-dev] [PATCH] egl_dri2 x11: Fix a typo
Kristian Høgsberg
krh at bitplanet.net
Wed Mar 30 05:41:06 PDT 2011
On Tue, Mar 29, 2011 at 1:41 AM, Feng, Haitao <haitao.feng at intel.com> wrote:
> From bc4ccf8d1c0474f432a3740a9c0bb5a67b3ebae8 Mon Sep 17 00:00:00 2001
> From: haitao <haitao at haitao-desktop.(none)>
> Date: Tue, 29 Mar 2011 13:33:46 +0800
> Subject: [PATCH] egl_dri2 x11: Fix a typo
Thanks, applied.
Kristian
> Signed-off-by: Haitao Feng <haitao.feng at 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) {
> --
> 1.7.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
More information about the mesa-dev
mailing list