mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
Merge pull request #8699 from jherico/gl_context_bug
Don't use GL functions before making the context current
This commit is contained in:
commit
55d5e80220
1 changed files with 1 additions and 1 deletions
|
@ -67,8 +67,8 @@ void GLWidget::createContext() {
|
|||
_context = new gl::Context();
|
||||
_context->setWindow(windowHandle());
|
||||
_context->create();
|
||||
_context->clear();
|
||||
_context->makeCurrent();
|
||||
_context->clear();
|
||||
}
|
||||
|
||||
bool GLWidget::makeCurrent() {
|
||||
|
|
Loading…
Reference in a new issue