17 lines
214 B
C
17 lines
214 B
C
typedef struct Image Image;
|
|
typedef struct State State;
|
|
|
|
struct Image {
|
|
int w;
|
|
int h;
|
|
int bpp;
|
|
unsigned char *data;
|
|
SDL_Texture *tex;
|
|
};
|
|
|
|
struct State {
|
|
SDL_Window *win;
|
|
SDL_Renderer *ren;
|
|
|
|
Image *test;
|
|
};
|