Skip to content
  • Laszlo Agocs's avatar
    Fix losing dirty state when calling update() from paintGL() · 90ce9701
    Laszlo Agocs authored
    
    
    When the paint for the QOpenGLWidget was in invoked on the
    fast path, where only that widget was dirty, the resetWidget
    call after sending the paint event removed the widget from the
    dirty list, making it impossible to schedule an update during the
    event handling. The correct way is to clean the list and then send
    the paint events.
    
    Change-Id: Icdad5686ded7944fd1c8af56496f725e163a60e6
    Reviewed-by: default avatarGunnar Sletta <gunnar@sletta.org>
    90ce9701