glx/dri2: Don't call X server for SwapBuffers when there's no back buffer.
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 14 Sep 2011 16:37:48 +0000 (18:37 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 14 Sep 2011 16:40:16 +0000 (18:40 +0200)
commitd8c443ddde5e9734d60b63b3ec3b5a5ba756d022
treee7bb62d19ed99bcdd6f043f61fe4811a03fbe0d7
parent48510d685655d0003c10fc3a3c2dcb485c3a86d1
glx/dri2: Don't call X server for SwapBuffers when there's no back buffer.

As already done in dri2CopySubBuffer().

Should fix:

https://bugs.freedesktop.org/show_bug.cgi?id=36371
https://bugs.freedesktop.org/show_bug.cgi?id=40533

Might fix:

https://bugs.freedesktop.org/show_bug.cgi?id=32589

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
src/glx/dri2_glx.c