Corrected the error message about required OpenGL version for GAL. Fixed pcb_calculator .desktop file.
This commit is contained in:
parent
ab27f56cc7
commit
59a0ced0a6
|
@ -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 @@
|
||||||
[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;
|
||||||
|
|
Loading…
Reference in New Issue