Example #1
0
 def popClipArea(self):
     Graphics.popClipArea(self)
     if len(self.mClipStack) > 0:
         top=self.mClipStack[-1]
         glScissor(top.x, self.mHeight - top.y - top.height, top.width, top.height)
 def popClipArea(self):
     Graphics.popClipArea(self)
     if len(self.mClipStack) > 0:
         top=self.mClipStack[-1]
         self.mTarget.set_clip( pygame.Rect(top.x,top.y,top.width,top.height) )