seanchas116 / qtimgui

Qt (QOpenGLWidget / QOpenGLWindow) backend for ImGui
MIT License
375 stars 96 forks source link

Enforce no zero DeltaTime #42

Closed redwork321 closed 2 years ago

redwork321 commented 2 years ago

When rapidly resizing a Qt window, DeltaTime can be zero (crash). This is a simple patch, according to https://github.com/ocornut/imgui/issues/4680

seanchas116 commented 2 years ago

Thank you!