Fix creating GL pixmap in certain situations (when using mesa?).

SVN revision: 44712
This commit is contained in:
Kim Woelders 2009-12-24 09:19:22 +00:00
parent a3bb553efb
commit 76b11091e2
1 changed files with 1 additions and 0 deletions

View File

@ -390,6 +390,7 @@ static GLXPixmap
GetGlPixmap(Window xwin, Drawable draw)
{
static const int attrs[] = {
GLX_TEXTURE_TARGET_EXT, GLX_TEXTURE_2D_EXT,
GLX_TEXTURE_FORMAT_EXT, GLX_TEXTURE_FORMAT_RGB_EXT,
0
};