twn_draw.h: new camera api
This commit is contained in:
@ -17,8 +17,8 @@
|
||||
|
||||
|
||||
typedef struct Texture {
|
||||
Rect srcrect; /* position in atlas */
|
||||
SDL_Surface *data; /* original image data */
|
||||
Rect srcrect; /* position in atlas */
|
||||
SDL_Surface *data; /* original image data */
|
||||
int atlas_index;
|
||||
GPUTexture loner_texture; /* stored directly for loners, == 0 means atlas_index should be used */
|
||||
GPUTexture repeating_texture; /* separately allocated Texture, for loners == loner_texture */
|
||||
|
Reference in New Issue
Block a user