diff --git a/dat.h b/dat.h index 0a724de..d9daf4d 100644 --- a/dat.h +++ b/dat.h @@ -1,4 +1,6 @@ typedef struct Image Image; +typedef struct State State; + struct Image { int w; int h; @@ -7,7 +9,6 @@ struct Image { SDL_Texture *tex; }; -typedef struct State State; struct State { SDL_Window *win; SDL_Renderer *ren;