Corrected the error message about required OpenGL version for GAL. Fixed pcb_calculator .desktop file.

This commit is contained in:
Orson 2014-03-14 21:32:25 +01:00 committed by jean-pierre charras
parent ab27f56cc7
commit 59a0ced0a6
2 changed files with 3 additions and 3 deletions

View File

@ -941,11 +941,11 @@ void OPENGL_GAL::initGlew()
// Check the OpenGL version (minimum 2.1 is required)
if( GLEW_VERSION_2_1 )
{
wxLogInfo( wxT( "OpenGL Version 2.1 supported." ) );
wxLogInfo( wxT( "OpenGL 2.1 supported." ) );
}
else
{
DisplayError( parentWindow, wxT( "OpenGL Version 2.1 is not supported!" ) );
DisplayError( parentWindow, wxT( "OpenGL 2.1 or higher is required!" ) );
exit( 1 );
}

View File

@ -2,7 +2,7 @@
[Desktop Entry]
Categories=Development;Electronics
Comment=Design a printed circuit board
Exec=pcbcalculator
Exec=pcb_calculator
GenericName=EDA Suite
Icon=pcbcalculator
MimeType=application/x-pcbcalculator-project;