#ifndef DEMO_H_ #define DEMO_H_ #include /* * An abstraction layer over the typical SDL_Renderer * is meant to handle display scaling mostly */ struct demo { SDL_Window* win; SDL_Renderer* ren; float display_scale_x; float display_scale_y; }; void update_demo(struct demo* demo); void demo_rendercopy(struct demo* demo, SDL_Texture* texture, SDL_Rect* s_rect, SDL_Rect* d_rect); #endif // DEMO_H_