Commit 59a0ced0 authored by Orson's avatar Orson Committed by jean-pierre charras

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

Corrected the error message about required OpenGL version for GAL. Fixed pcb_calculator .desktop file.
parent ab27f56c
...@@ -941,11 +941,11 @@ void OPENGL_GAL::initGlew() ...@@ -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 );
} }
......
...@@ -2,7 +2,7 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment