mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 16:02:50 +02:00
- attempt to further stabilize g3d viewer end map editor
This commit is contained in:
@@ -575,7 +575,7 @@ void MainWindow::init() {
|
||||
#elif wxCHECK_VERSION(2, 9, 1)
|
||||
|
||||
#else
|
||||
//glCanvas->SetCurrent();
|
||||
glCanvas->SetCurrent();
|
||||
//printf("setcurrent #2\n");
|
||||
#endif
|
||||
|
||||
@@ -593,7 +593,7 @@ void MainWindow::onPaint(wxPaintEvent &event) {
|
||||
#elif wxCHECK_VERSION(2, 9, 3)
|
||||
|
||||
#elif wxCHECK_VERSION(2, 9, 1)
|
||||
//glCanvas->setCurrentGLContext();
|
||||
glCanvas->setCurrentGLContext();
|
||||
#endif
|
||||
|
||||
if(startupSettingsInited == false) {
|
||||
|
Reference in New Issue
Block a user