summaryrefslogtreecommitdiff
path: root/src/sandbox/sprite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sandbox/sprite.c')
-rw-r--r--src/sandbox/sprite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sandbox/sprite.c b/src/sandbox/sprite.c
index f340527..0a35cb8 100644
--- a/src/sandbox/sprite.c
+++ b/src/sandbox/sprite.c
@@ -33,6 +33,7 @@ int main(int argc, char *argv[]) {
SDL_Rect win_pos = { .x=SDL_WINDOWPOS_UNDEFINED, .y=SDL_WINDOWPOS_UNDEFINED, .w=MPL_WINDOW_WIDTH, .h=MPL_WINDOW_HEIGHT };
Uint32 init_flags = SDL_INIT_TIMER|SDL_INIT_AUDIO|SDL_INIT_VIDEO|SDL_INIT_EVENTS;
Uint32 win_flags = SDL_WINDOW_SHOWN; //|SDL_WINDOW_OPENGL;
+ //Uint32 rend_flags = SDL_RENDERER_ACCELERATED|SDL_RENDERER_PRESENTVSYNC;
Uint32 rend_flags = SDL_RENDERER_ACCELERATED;
my_SDL_init_or_die(MPL_WINDOW_TITLE, win_pos, init_flags, win_flags, rend_flags, &sdl_win, &sdl_rend, &sdl_rend_info, &sdl_viewport);