diff --git a/polymer/eduke32/build/include/baselayer.h b/polymer/eduke32/build/include/baselayer.h index b019ef0d1..f4c91c4da 100644 --- a/polymer/eduke32/build/include/baselayer.h +++ b/polymer/eduke32/build/include/baselayer.h @@ -35,8 +35,6 @@ extern int32_t xres, yres, bpp, fullscreen, bytesperline; extern intptr_t frameplace; extern char offscreenrendering; -extern void (*baselayer_onvideomodechange)(int32_t); - void calc_ylookup(int32_t bpl, int32_t lastyidx); #ifdef USE_OPENGL diff --git a/polymer/eduke32/build/src/baselayer.c b/polymer/eduke32/build/src/baselayer.c index 6b5869e04..449d23cde 100644 --- a/polymer/eduke32/build/src/baselayer.c +++ b/polymer/eduke32/build/src/baselayer.c @@ -206,9 +206,6 @@ struct glinfo_t glinfo = int32_t flushlogwindow = 1; -static void onvideomodechange(int32_t newmode) { UNREFERENCED_PARAMETER(newmode); } -void (*baselayer_onvideomodechange)(int32_t) = onvideomodechange; - #ifdef USE_OPENGL static int32_t osdfunc_setrendermode(const osdfuncparm_t *parm) { diff --git a/polymer/eduke32/build/src/sdlayer.c b/polymer/eduke32/build/src/sdlayer.c index 833280047..00f235c03 100644 --- a/polymer/eduke32/build/src/sdlayer.c +++ b/polymer/eduke32/build/src/sdlayer.c @@ -1622,7 +1622,6 @@ int32_t setvideomode(int32_t x, int32_t y, int32_t c, int32_t fs) setpalettefade(palfadergb.r, palfadergb.g, palfadergb.b, palfadedelta); //if (c==8) setpalette(0,256,0); - //baselayer_onvideomodechange(c>8); if (regrab) grabmouse(1); diff --git a/polymer/eduke32/build/src/winlayer.c b/polymer/eduke32/build/src/winlayer.c index 5e540ae73..c3684f59b 100644 --- a/polymer/eduke32/build/src/winlayer.c +++ b/polymer/eduke32/build/src/winlayer.c @@ -1709,7 +1709,6 @@ int32_t setvideomode(int32_t x, int32_t y, int32_t c, int32_t fs) modechange=1; videomodereset = 0; OSD_ResizeDisplay(xres,yres); - //baselayer_onvideomodechange(c>8); return 0; } diff --git a/polymer/eduke32/source/osdcmds.c b/polymer/eduke32/source/osdcmds.c index b98497e57..09dbb2cee 100644 --- a/polymer/eduke32/source/osdcmds.c +++ b/polymer/eduke32/source/osdcmds.c @@ -1608,7 +1608,6 @@ int32_t registerosdcommands(void) OSD_RegisterFunction("savestate","",osdcmd_savestate); OSD_RegisterFunction("restorestate","",osdcmd_restorestate); #endif - //baselayer_onvideomodechange = onvideomodechange; return 0; }