コード例 #1
0
    def _update_drawable(self):
        # We can get there after context has been disposed, in which case
        # just do nothing.
        if not self._agl_context:
            return

        agl.aglUpdateContext(self._agl_context)
        _aglcheck()

        # Need a redraw
        self.dispatch_event('on_expose')
コード例 #2
0
 def update_geometry(self):
     agl.aglUpdateContext(self._context)
     _aglcheck()