- merging in changes from weltall for macosx

This commit is contained in:
Mark Vejvoda
2011-10-18 01:13:38 +00:00
parent fa5aea7e42
commit 5b7329594c
14 changed files with 60 additions and 37 deletions

View File

@@ -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