[Mesa-dev] Gallium DRI drivers default GL_READ/WRITE_BUFFER to GL_(BACK|FRONT)_LEFT instead of GL_(BACK|FRONT)

Jose Fonseca jfonseca at vmware.com
Wed Dec 7 03:35:17 PST 2011


----- Original Message -----
> I wrote a testsuite for apitrace, and one of the tests checks the
> default GL state against a reference, and it is failing on all
> Gallium DRI drivers because
> 
> {
>   parameters: {
>     GL_DRAW_BUFFER: "GL_BACK" -> "GL_BACK_LEFT",
>     GL_DRAW_BUFFER0: "GL_BACK" -> "GL_BACK_LEFT",
>     GL_READ_BUFFER: "GL_BACK" -> "GL_BACK_LEFT",
>   },
> }
> 
> This looks like a bug as glDrawBuffer/glReadBuffer manpages are quite
> clear: GL_BACK on double buffer visual, GL_

Missed some words here: .. GL_BACK on double buffer visual, GL_FRONT on single buffers.

Jose


More information about the mesa-dev mailing list