comparison pytouhou/ui/window.pxd @ 596:ab131d04987d

Fix a regression introduced in the previous commit when the interface has a different resolution than 640×480 and framebuffer_blit is enabled.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 25 Oct 2014 18:49:41 +0200
parents 12756994a92c
children 3c2f96f1d715
comparison
equal deleted inserted replaced
595:b7b4a234bf70 596:ab131d04987d
21 cdef class Window: 21 cdef class Window:
22 cdef sdl.Window win 22 cdef sdl.Window win
23 cdef Runner runner 23 cdef Runner runner
24 cdef Clock clock 24 cdef Clock clock
25 cdef int frame, frameskip 25 cdef int frame, frameskip
26 cdef int width, height
26 27
27 cdef void set_size(self, int width, int height) nogil 28 cdef void set_size(self, int width, int height) nogil
28 cpdef set_runner(self, Runner runner=*) 29 cpdef set_runner(self, Runner runner=*)
29 cpdef run(self) 30 cpdef run(self)
30 cdef bint run_frame(self) except? False 31 cdef bint run_frame(self) except? False