Mercurial > touhou
diff pytouhou/lib/sdl.pxd @ 785:f73e8524c045
SDL Backend: Fix renderer interactions
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Mon, 01 Dec 2025 16:22:05 +0100 |
| parents | ec1e06402a97 |
| children | 7e940ebeb5fd |
line wrap: on
line diff
--- a/pytouhou/lib/sdl.pxd +++ b/pytouhou/lib/sdl.pxd @@ -64,11 +64,11 @@ # The following functions are there for the pure SDL backend. cdef bint create_renderer(self, Uint32 flags) except True - cdef bint render_clear(self) except True - cdef bint render_copy(self, Texture texture, Rect srcrect, Rect dstrect) except True - cdef bint render_copy_ex(self, Texture texture, Rect srcrect, Rect dstrect, double angle, bint flip) except True - cdef bint render_set_clip_rect(self, Rect rect) except True - cdef bint render_set_viewport(self, Rect rect) except True + cpdef bint render_clear(self) except True + cpdef bint render_copy(self, Texture texture, Rect srcrect, Rect dstrect) except True + cpdef bint render_copy_ex(self, Texture texture, Rect srcrect, Rect dstrect, double angle, bint flip) except True + cpdef bint render_set_clip_rect(self, Rect rect) except True + cpdef bint render_set_viewport(self, Rect rect) except True cdef Texture create_texture_from_surface(self, Surface surface)
