From cca36d355a0160933bc6598570c6792cd4555f0e Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 4 May 2016 10:10:15 +0200 Subject: [PATCH] Remove unnecessary debug messages (OpenGL GAL). --- common/gal/opengl/opengl_gal.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/common/gal/opengl/opengl_gal.cpp b/common/gal/opengl/opengl_gal.cpp index c3ee4ac881..14d246d8cb 100644 --- a/common/gal/opengl/opengl_gal.cpp +++ b/common/gal/opengl/opengl_gal.cpp @@ -1499,18 +1499,9 @@ void OPENGL_GAL::OPENGL_TEST::Render( wxPaintEvent& WXUNUSED( aEvent ) ) error( (const char*) glewGetErrorString( err ) ); return; } - else - { - wxLogDebug( wxString( wxT( "Status: Using GLEW " ) ) + - FROM_UTF8( (char*) glewGetString( GLEW_VERSION ) ) ); - } // Check the OpenGL version (minimum 2.1 is required) - if( GLEW_VERSION_2_1 ) - { - wxLogInfo( wxT( "OpenGL 2.1 supported." ) ); - } - else + if( !GLEW_VERSION_2_1 ) { error( "OpenGL 2.1 or higher is required!" ); return;