commit | 357d3f30f36878a3010547b669f055a2043cbbaa | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Sat Aug 27 01:42:16 2011 +0800 |
committer | Chia-I Wu <olv@lunarg.com> | Wed Aug 31 11:51:42 2011 +0800 |
tree | 2fe5004f9dfbdb780d2b01c79bdc4f86d3ac7300 | |
parent | 66e8d223b61dc034fb941e7d704a85ee44d7bbcc [diff] |
egl_dri2: set ctx->WindowRenderBuffer 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. Reviewed-by: Chad Versace <chad@chad-versace.us>