diff 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
line wrap: on
line diff
--- a/pytouhou/ui/window.pxd
+++ b/pytouhou/ui/window.pxd
@@ -23,6 +23,7 @@ cdef class Window:
     cdef Runner runner
     cdef Clock clock
     cdef int frame, frameskip
+    cdef int width, height
 
     cdef void set_size(self, int width, int height) nogil
     cpdef set_runner(self, Runner runner=*)