mirror of
https://github.com/leozide/leocad
synced 2025-01-28 19:58:12 +01:00
Queue GL updates instead of drawing right away.
This commit is contained in:
parent
4e44915e49
commit
d95d0ac68a
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ void lcGLWidget::MakeCurrent()
|
|||
|
||||
void lcGLWidget::Redraw()
|
||||
{
|
||||
QGLWidget* widget = (QGLWidget*)mWidget;
|
||||
QGLWidget* Widget = (QGLWidget*)mWidget;
|
||||
|
||||
widget->updateGL();
|
||||
QTimer::singleShot(0, Widget, SLOT(updateGL()));
|
||||
}
|
||||
|
||||
void* lcGLWidget::GetExtensionAddress(const char* FunctionName)
|
||||
|
|
Loading…
Add table
Reference in a new issue