Skip to content

Commit 4b8f6f4

Browse files
committed
graphics: fix cython 0.20 compilation. closes kivy#1796
1 parent 5b2769b commit 4b8f6f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kivy/graphics/instructions.pxd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ cdef class Canvas
77
cdef class RenderContext
88

99
from vbo cimport *
10-
from context_instructions cimport *
1110
from compiler cimport *
1211
from shader cimport *
1312
from texture cimport Texture
@@ -58,6 +57,9 @@ cdef class ContextInstruction(Instruction):
5857
cdef void push_state(self, str name) except *
5958
cdef void pop_state(self, str name) except *
6059

60+
61+
from context_instructions cimport BindTexture
62+
6163
cdef class VertexInstruction(Instruction):
6264
cdef BindTexture texture_binding
6365
cdef VertexBatch batch

0 commit comments

Comments
 (0)