# HG changeset patch # User Sam Lantinga # Date 996538301 0 # Node ID 0ae324925dd7f574b7ca2ec66e27a473e20bbc20 # Parent bb051fa871aa0b53ea57df56a446cec3bb85924c Fix build when GL_CLIENT_PIXEL_STORE_BIT is not defined diff -r bb051fa871aa -r 0ae324925dd7 src/video/SDL_video.c --- a/src/video/SDL_video.c Mon Jul 23 19:54:31 2001 +0000 +++ b/src/video/SDL_video.c Tue Jul 31 00:11:41 2001 +0000 @@ -1475,7 +1475,9 @@ SDL_VideoDevice *this = current_video; this->glPushAttrib( GL_ALL_ATTRIB_BITS ); /* TODO: narrow range of what is saved */ +#ifdef GL_CLIENT_PIXEL_STORE_BIT this->glPushClientAttrib( GL_CLIENT_PIXEL_STORE_BIT ); +#endif this->glEnable(GL_TEXTURE_2D); this->glEnable(GL_BLEND);