4coder/test_data/lots_of_files/jam_rendering_system.h

24 lines
333 B
C
Raw Normal View History

2018-03-16 18:19:11 +00:00
/*
* Overreact - Mr. 4th Dimention
* Allen Webster
* 03.21.2015 (mm.dd.yyyy)
*
* Rendering System Layer.
*/
#if RENDER_MODE == SOFTWARE
struct Game_Render_Target{
u8 *pixels;
i32 width, height, pitch;
};
#elif RENDER_MODE == OPENGL
struct Game_Render_Target{
i32 width, height;
};
#endif