view pytouhou/ui/opengl/sprite.pxd @ 539:d6d9a711253d

Fix text sometimes being drawn with a wrong blend func.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 06 May 2014 20:12:08 +0200
parents dacdcca59b66
children 53fa73932e9a
line wrap: on
line source

from pytouhou.game.sprite cimport Sprite

cdef struct RenderingData:
    float pos[12], left, right, bottom, top
    unsigned char color[4]
    long key

cdef RenderingData* get_sprite_rendering_data(Sprite sprite) nogil
cdef void render_sprite(Sprite sprite) nogil