typedef struct Image Image; struct Image { int w; int h; int bpp; unsigned char *data; SDL_Texture *tex; }; typedef struct State State; struct State { SDL_Window *win; SDL_Renderer *ren; Image *test; };