mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 07:52:51 +02:00
- merging in changes from weltall for macosx
This commit is contained in:
@@ -1878,9 +1878,13 @@ GlCanvas::~GlCanvas() {
|
||||
}
|
||||
|
||||
void GlCanvas::setCurrentGLContext() {
|
||||
#ifndef __APPLE__
|
||||
if(this->context) {
|
||||
this->SetCurrent(*this->context);
|
||||
}
|
||||
#else
|
||||
this->SetCurrent();
|
||||
#endif
|
||||
}
|
||||
|
||||
// for the mousewheel
|
||||
|
Reference in New Issue
Block a user