def pushClipArea(self,area): result=Graphics.pushClipArea(self,area) top=self.mClipStack[-1] glScissor(top.x, self.mHeight - top.y - top.height, top.width, top.height) return result
def pushClipArea(self,area): result=Graphics.pushClipArea(self,area) top=self.mClipStack[-1] self.mTarget.set_clip( pygame.Rect(top.x,top.y,top.width,top.height) ) return result