1. Robot Mirror
  2. pyglet

Commits

Andreas Schiefer  committed e4c909e

Fix window not redrawing with AMD drivers when set visible

  • Participants
  • Parent commits 2b4141d
  • Branches default

Comments (0)

Files changed (1)

File pyglet/window/win32/__init__.py

View file
                 SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW)
             self.dispatch_event('on_show')
             self.activate()
+            self.dispatch_event('on_resize', self._width, self._height)
         else:
             _user32.ShowWindow(self._hwnd, SW_HIDE)
             self.dispatch_event('on_hide')