DEADSOFTWARE

system: optimize videomode and fullscreen changing
[flatwaifu.git] / src / soft / render.c
index fafe379ded1be470dd0ce583a67ecb133cfe6964..74a3c0f898f2a776467ecd3c134161d82fca6e1f 100644 (file)
@@ -1354,7 +1354,7 @@ void R_set_videomode (int w, int h, int fullscreen) {
   assert(w > 0);
   assert(h > 0);
   int was = Y_videomode_setted();
-  int res = Y_set_videomode(w, h, fullscreen ? SYSTEM_USE_FULLSCREEN : 0);
+  int res = Y_set_videomode_software(w, h, fullscreen);
   if (res == 0) {
     if (was == 0) {
       ERR_failinit("Unable to set video mode");