mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
baselayer.c: remove baselayer_onvideomodechange, onvideomodechange.
git-svn-id: https://svn.eduke32.com/eduke32@4013 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f7181722cc
commit
2aa55e5900
5 changed files with 0 additions and 8 deletions
|
@ -35,8 +35,6 @@ extern int32_t xres, yres, bpp, fullscreen, bytesperline;
|
||||||
extern intptr_t frameplace;
|
extern intptr_t frameplace;
|
||||||
extern char offscreenrendering;
|
extern char offscreenrendering;
|
||||||
|
|
||||||
extern void (*baselayer_onvideomodechange)(int32_t);
|
|
||||||
|
|
||||||
void calc_ylookup(int32_t bpl, int32_t lastyidx);
|
void calc_ylookup(int32_t bpl, int32_t lastyidx);
|
||||||
|
|
||||||
#ifdef USE_OPENGL
|
#ifdef USE_OPENGL
|
||||||
|
|
|
@ -206,9 +206,6 @@ struct glinfo_t glinfo =
|
||||||
|
|
||||||
int32_t flushlogwindow = 1;
|
int32_t flushlogwindow = 1;
|
||||||
|
|
||||||
static void onvideomodechange(int32_t newmode) { UNREFERENCED_PARAMETER(newmode); }
|
|
||||||
void (*baselayer_onvideomodechange)(int32_t) = onvideomodechange;
|
|
||||||
|
|
||||||
#ifdef USE_OPENGL
|
#ifdef USE_OPENGL
|
||||||
static int32_t osdfunc_setrendermode(const osdfuncparm_t *parm)
|
static int32_t osdfunc_setrendermode(const osdfuncparm_t *parm)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
setpalettefade(palfadergb.r, palfadergb.g, palfadergb.b, palfadedelta);
|
||||||
|
|
||||||
//if (c==8) setpalette(0,256,0);
|
//if (c==8) setpalette(0,256,0);
|
||||||
//baselayer_onvideomodechange(c>8);
|
|
||||||
|
|
||||||
if (regrab) grabmouse(1);
|
if (regrab) grabmouse(1);
|
||||||
|
|
||||||
|
|
|
@ -1709,7 +1709,6 @@ int32_t setvideomode(int32_t x, int32_t y, int32_t c, int32_t fs)
|
||||||
modechange=1;
|
modechange=1;
|
||||||
videomodereset = 0;
|
videomodereset = 0;
|
||||||
OSD_ResizeDisplay(xres,yres);
|
OSD_ResizeDisplay(xres,yres);
|
||||||
//baselayer_onvideomodechange(c>8);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1608,7 +1608,6 @@ int32_t registerosdcommands(void)
|
||||||
OSD_RegisterFunction("savestate","",osdcmd_savestate);
|
OSD_RegisterFunction("savestate","",osdcmd_savestate);
|
||||||
OSD_RegisterFunction("restorestate","",osdcmd_restorestate);
|
OSD_RegisterFunction("restorestate","",osdcmd_restorestate);
|
||||||
#endif
|
#endif
|
||||||
//baselayer_onvideomodechange = onvideomodechange;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue