23 lines
413 B
C
23 lines
413 B
C
|
|
#ifndef ARC_SDL_RENDERER_H_
|
||
|
|
#define ARC_SDL_RENDERER_H_
|
||
|
|
|
||
|
|
#ifdef ARC_SDL
|
||
|
|
|
||
|
|
#include <SDL.h>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief struct for info needed to create SDL_Renderer
|
||
|
|
*
|
||
|
|
* @note this is what needs to be passed into the data parameter for ARC_Renderer_Create
|
||
|
|
*/
|
||
|
|
|
||
|
|
struct ARC_RenderInfo {
|
||
|
|
ARC_Window *window;
|
||
|
|
int index;
|
||
|
|
Uint32 flags;
|
||
|
|
} ARC_RenderInfo;
|
||
|
|
|
||
|
|
#endif // ARC_SDL
|
||
|
|
|
||
|
|
#endif // ARC_SDL_RENDERER_H_
|