Re: [Mesa-dev] [PATCH] egl_dri2: set ctx->WindowRenderBuffer

2011-08-30 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/28/2011 08:38 AM, Chia-I Wu wrote: > From: Chia-I Wu > > Set ctx->WindowRenderBuffer to EGL_BACK_BUFFER. As EGL_WINDOW_BIT of a > config is set only when there is dri_double_buffer, that makes sure > window surfaces are always double-buffered

[Mesa-dev] [PATCH] egl_dri2: set ctx->WindowRenderBuffer

2011-08-28 Thread Chia-I Wu
From: Chia-I Wu Set ctx->WindowRenderBuffer to EGL_BACK_BUFFER. As EGL_WINDOW_BIT of a config is set only when there is dri_double_buffer, that makes sure window surfaces are always double-buffered and contexts will render to the back buffer. --- src/egl/drivers/dri2/egl_dri2.c |6 ++ 1