From 1c14ab2db99d0ebbfadf1d4616e7d035447da722 Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Mon, 23 Nov 2015 14:42:01 +0100 Subject: [PATCH] Changed extension check for GL_ARB_framebuffer_object --- neo/renderer/RenderSystem_init.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/neo/renderer/RenderSystem_init.cpp b/neo/renderer/RenderSystem_init.cpp index be8da929..26dd4972 100644 --- a/neo/renderer/RenderSystem_init.cpp +++ b/neo/renderer/RenderSystem_init.cpp @@ -504,18 +504,18 @@ static void R_CheckPortableExtensions() common->Printf( "X..%s not found\n", "GL_GREMEDY_string_marker" ); } - // GL_EXT_framebuffer_object - glConfig.framebufferObjectAvailable = GLEW_EXT_framebuffer_object != 0; + // GL_ARB_framebuffer_object + glConfig.framebufferObjectAvailable = GLEW_ARB_framebuffer_object != 0; if( glConfig.framebufferObjectAvailable ) { glGetIntegerv( GL_MAX_RENDERBUFFER_SIZE, &glConfig.maxRenderbufferSize ); glGetIntegerv( GL_MAX_COLOR_ATTACHMENTS, &glConfig.maxColorAttachments ); - common->Printf( "...using %s\n", "GL_EXT_framebuffer_object" ); + common->Printf( "...using %s\n", "GL_ARB_framebuffer_object" ); } else { - common->Printf( "X..%s not found\n", "GL_EXT_framebuffer_object" ); + common->Printf( "X..%s not found\n", "GL_ARB_framebuffer_object" ); } // GL_EXT_framebuffer_blit @@ -526,7 +526,7 @@ static void R_CheckPortableExtensions() } else { - common->Printf( "X..%s not found\n", "GL_EXT_framebuffer_object" ); + common->Printf( "X..%s not found\n", "GL_EXT_framebuffer_blit" ); } // GL_ARB_debug_output @@ -583,10 +583,10 @@ static void R_CheckPortableExtensions() idLib::Error( "GL_ARB_draw_elements_base_vertex not available" ); } // GL_ARB_vertex_program / GL_ARB_fragment_program - if( !glConfig.fragmentProgramAvailable ) - { - idLib::Warning( "GL_ARB_fragment_program not available" ); - } + //if( !glConfig.fragmentProgramAvailable ) + //{ + // idLib::Warning( "GL_ARB_fragment_program not available" ); + //} // GLSL if( !glConfig.glslAvailable ) {