From a8e02fc40ecd658e23d13bc52e18fef93d4e5226 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 27 Mar 2007 00:24:56 +0000 Subject: [PATCH] GL_ARB_pixel_buffer_object check --- stepmania/src/RageDisplay_OGL.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index 368119777c..7861603189 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -2226,6 +2226,9 @@ private: RageTextureLock *RageDisplay_OGL::CreateTextureLock() { + if( !GLExt.HasExtension("GL_ARB_pixel_buffer_object") ) + return NULL; + return new RageTextureLock_OGL; }