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) // Check the OpenGL version (minimum 2.1 is required)
if( GLEW_VERSION_2_1 ) if( GLEW_VERSION_2_1 )
{ {
wxLogInfo( wxT( "OpenGL Version 2.1 supported." ) ); wxLogInfo( wxT( "OpenGL 2.1 supported." ) );
} }
else else
{ {
DisplayError( parentWindow, wxT( "OpenGL Version 2.1 is not supported!" ) ); DisplayError( parentWindow, wxT( "OpenGL 2.1 or higher is required!" ) );
exit( 1 ); exit( 1 );
} }

View File

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