Get the default GLXPixmap texture target from the server when appropriate.
authorMichel Dänzer <michel@tungstengraphics.com>
Thu, 10 Apr 2008 19:45:52 +0000 (15:45 -0400)
committerKristian Høgsberg <krh@redhat.com>
Thu, 10 Apr 2008 19:47:46 +0000 (15:47 -0400)
commit23635510e3333ea8056311afa741c5e6d7c9ec15
treee28d28e3eb00b616e432cffdd7fa5877548b6940
parent842b8b4c336657f717ee8d47fd4918be84a92d48
Get the default GLXPixmap texture target from the server when appropriate.

Fixes compiz with direct rendering when both GLX_TEXTURE_2D_EXT and
GLX_TEXTURE_RECTANGLE_EXT are supported for a GLXPixmap and the
application didn't specify the texture target as a GLX drawable attribute
when creating the GLX drawable.
src/glx/x11/glx_pbuffer.c