stencil: fixed stencilunuse missing instruction

This commit is contained in:
Mathieu Virbel 2012-05-28 11:48:01 +02:00
parent fc47d45c62
commit e42a5ec1d7
2 changed files with 4 additions and 4 deletions

View File

@ -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__)

View File

@ -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"