X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrfileman;a=blobdiff_plain;f=src%2Fmain.cc;h=d7dea971de8104f9c739d19d122d0d89baded71f;hp=7e700a6ca661f8110081bda457a2e91bf6d12806;hb=818d6e49d86bc91748396a8c408cd84d17e10994;hpb=05cc7dce02b656e633c880dcc55acdf370cb25c1 diff --git a/src/main.cc b/src/main.cc index 7e700a6..d7dea97 100644 --- a/src/main.cc +++ b/src/main.cc @@ -72,6 +72,16 @@ break_evloop: return 0; } +void app_resize(int x, int y) +{ + SDL_SetWindowSize(win, x, y); +} + +void app_fullscreen(int fs) +{ + SDL_SetWindowFullscreen(win, fs ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0); +} + void app_quit() { quit = true;