From: Chia-I Wu Date: Fri, 9 Apr 2010 15:38:12 +0000 (+0800) Subject: st/egl: Fix a typo in determining the render buffer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad1edb053aa7e4115301c746a408dd2be338713d;p=mesa.git st/egl: Fix a typo in determining the render buffer. --- diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c index 21fa6c8d4f6..427c7e456a4 100644 --- a/src/gallium/state_trackers/egl/common/egl_g3d.c +++ b/src/gallium/state_trackers/egl/common/egl_g3d.c @@ -236,7 +236,7 @@ egl_g3d_init_config(_EGLDriver *drv, _EGLDisplay *dpy, gconf->stvis.accum_format = PIPE_FORMAT_NONE; gconf->stvis.samples = 0; - gconf->stvis.render_buffer = (buffer_mask & ST_ATTACHMENT_BACK_LEFT) ? + gconf->stvis.render_buffer = (buffer_mask & ST_ATTACHMENT_BACK_LEFT_MASK) ? ST_ATTACHMENT_BACK_LEFT : ST_ATTACHMENT_FRONT_LEFT; api_mask = 0;