diff --git a/polymer/eduke32/build/src/sdlayer.c b/polymer/eduke32/build/src/sdlayer.c index 22aa56d70..ec0681c51 100644 --- a/polymer/eduke32/build/src/sdlayer.c +++ b/polymer/eduke32/build/src/sdlayer.c @@ -106,7 +106,7 @@ static uint16_t sysgamma[3][256]; // OpenGL stuff char nogl=0; #endif -static int vsync_renderlayer; +static int32_t vsync_renderlayer; int32_t maxrefreshfreq=0; // last gamma, contrast, brightness @@ -503,7 +503,7 @@ int32_t main(int32_t argc, char *argv[]) #if SDL_MAJOR_VERSION != 1 -int setvsync(int newSync) +int32_t setvsync(int32_t newSync) { if (vsync_renderlayer == newSync) return newSync; diff --git a/polymer/eduke32/build/src/sdlayer12.c b/polymer/eduke32/build/src/sdlayer12.c index 7d841e037..6d6da9079 100644 --- a/polymer/eduke32/build/src/sdlayer12.c +++ b/polymer/eduke32/build/src/sdlayer12.c @@ -55,7 +55,7 @@ HWND win_gethwnd(void) } #endif -int setvsync(int newSync) +int32_t setvsync(int32_t newSync) { if (vsync_renderlayer == newSync) return newSync; diff --git a/polymer/eduke32/build/src/winlayer.c b/polymer/eduke32/build/src/winlayer.c index 0bb5de185..f91b0cb3c 100644 --- a/polymer/eduke32/build/src/winlayer.c +++ b/polymer/eduke32/build/src/winlayer.c @@ -1721,7 +1721,7 @@ int32_t setvideomode(int32_t x, int32_t y, int32_t c, int32_t fs) #define CHECK(w,h) if ((w < maxx) && (h < maxy)) -int setvsync(int newSync) +int32_t setvsync(int32_t newSync) { #ifdef USE_OPENGL if (!glinfo.vsync)