diff --git a/kivy/graphics/__init__.py b/kivy/graphics/__init__.py index bc8c81fc3..7ff6454fd 100644 --- a/kivy/graphics/__init__.py +++ b/kivy/graphics/__init__.py @@ -82,7 +82,7 @@ from kivy.graphics.context_instructions import BindTexture, Color, \ from kivy.graphics.vertex_instructions import Bezier, BorderImage, Ellipse, \ GraphicException, Line, Mesh, Point, Quad, Rectangle, Triangle from kivy.graphics.stencil_instructions import StencilPop, StencilPush, \ - StencilUse + StencilUse, StencilUnuse from kivy.graphics.fbo import Fbo # very hacky way to avoid pyflakes warning... @@ -94,7 +94,7 @@ __all__ = (Bezier.__name__, BindTexture.__name__, BorderImage.__name__, Mesh.__name__, Point.__name__, PopMatrix.__name__, PushMatrix.__name__, Quad.__name__, Rectangle.__name__, RenderContext.__name__, Rotate.__name__, Scale.__name__, StencilPop.__name__, - StencilPush.__name__, StencilUse.__name__, Translate.__name__, - Triangle.__name__, VertexInstruction.__name__, + StencilPush.__name__, StencilUse.__name__, StencilUnuse.__name__, + Translate.__name__, Triangle.__name__, VertexInstruction.__name__, gl_init_resources.__name__) diff --git a/kivy/graphics/stencil_instructions.pyx b/kivy/graphics/stencil_instructions.pyx index 44f35ecda..ed99314a5 100644 --- a/kivy/graphics/stencil_instructions.pyx +++ b/kivy/graphics/stencil_instructions.pyx @@ -89,7 +89,7 @@ Here is an example, in kv style:: ''' -__all__ = ('StencilPush', 'StencilPop', 'StencilUse') +__all__ = ('StencilPush', 'StencilPop', 'StencilUse', 'StencilUnuse') include "config.pxi" include "opcodes.pxi"