mesa/st: Don't modify the context draw/read buffers.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 8 Dec 2011 13:25:10 +0000 (13:25 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 9 Dec 2011 18:34:40 +0000 (18:34 +0000)
commitf188c0d0f4c6a6920cd1d8040aceb9df007b5a23
treefb66da018eab9433cc20f29b9a3a7311886355ac
parenteefff37060de8c2e98c687c9263e783dfe3ac8cc
mesa/st: Don't modify the context draw/read buffers.

It sets the wrong values (GL_XXX_LEFT instead of GL_XXX), and no other
Mesa driver does this, given that Mesa sets the right draw/read buffers
provided the Mesa visual has the doublebuffer flag filled correctly
which is the case.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_manager.c