Specify the GLX_TEXTURE_TARGET_EXT when creating a glXPixmap
authorDana Jansens <danakj@orodu.net>
Thu, 10 Jun 2010 18:17:18 +0000 (14:17 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 26 Jun 2010 23:30:47 +0000 (01:30 +0200)
commit598809b436bc6236a365d76967b08e2700f40779
tree31a8645ac5140ed26e0f42eac37b03d6e16e9638
parentf6437af4e652c52e5fea0d3fc603a3fa41692043
Specify the GLX_TEXTURE_TARGET_EXT when creating a glXPixmap

This is a workaround for non-spec drivers.  See issue #4 here: http://www.opengl.org/registry/specs/EXT/texture_from_pixmap.txt

A default should be chosen, but it is not.  We assume that GL_ARB_texture_non_power_of_two is present for now, and just always ask for a GL_TEXTURE_2D texture
openbox/composite.c