mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
Don't use GL functions before making the context current
This commit is contained in:
parent
b69a49d7bc
commit
0f06d0e4cc
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