Commit ea547cf1 authored by Sam Lantinga's avatar Sam Lantinga

Fix build when GL_CLIENT_PIXEL_STORE_BIT is not defined

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40126
parent b4ff64c1
...@@ -1475,7 +1475,9 @@ void SDL_GL_Lock() ...@@ -1475,7 +1475,9 @@ void SDL_GL_Lock()
SDL_VideoDevice *this = current_video; SDL_VideoDevice *this = current_video;
this->glPushAttrib( GL_ALL_ATTRIB_BITS ); /* TODO: narrow range of what is saved */ 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 ); this->glPushClientAttrib( GL_CLIENT_PIXEL_STORE_BIT );
#endif
this->glEnable(GL_TEXTURE_2D); this->glEnable(GL_TEXTURE_2D);
this->glEnable(GL_BLEND); this->glEnable(GL_BLEND);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment