diff --git a/source/build/include/build.h b/source/build/include/build.h index 126ff118c..d86f7e9e6 100644 --- a/source/build/include/build.h +++ b/source/build/include/build.h @@ -352,14 +352,10 @@ void videoSetCorrectedAspect(); void videoSetViewableArea(int32_t x1, int32_t y1, int32_t x2, int32_t y2); void renderSetAspect(int32_t daxrange, int32_t daaspect); -void plotpixel(int32_t x, int32_t y, char col); FCanvasTexture *renderSetTarget(int16_t tilenume); void renderRestoreTarget(); void setVideoMode(); -void videoInit(); -void videoClearViewableArea(int32_t dacol); -void videoClearScreen(int32_t dacol); class F2DDrawer; diff --git a/source/build/src/engine.cpp b/source/build/src/engine.cpp index 647022e68..d690af204 100644 --- a/source/build/src/engine.cpp +++ b/source/build/src/engine.cpp @@ -1563,24 +1563,6 @@ void videoSetViewableArea(int32_t x1, int32_t y1, int32_t x2, int32_t y2) -// -// clearview -// -void videoClearViewableArea(int32_t dacol) -{ - GLInterface.ClearScreen(dacol, false); -} - - -// -// clearallviews -// -void videoClearScreen(int32_t dacol) -{ - GLInterface.ClearScreen(dacol | PalEntry(255,0,0,0)); -} - - //MUST USE RESTOREFORDRAWROOMS AFTER DRAWING static int32_t setviewcnt = 0; // interface layers use this now @@ -1736,7 +1718,6 @@ void alignflorslope(int16_t dasect, int32_t x, int32_t y, int32_t z) int tilehasmodelorvoxel(int const tilenume, int pal) { - UNREFERENCED_PARAMETER(pal); return (mdinited && hw_models && tile2model[Ptile2tile(tilenume, pal)].modelid != -1) || (r_voxels && tiletovox[tilenume] != -1); diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index 82166c1eb..4887ccc8a 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -1050,7 +1050,6 @@ void setVideoMode() ydim = screen->GetHeight(); V_UpdateModeSize(xdim, ydim); videoSetViewableArea(0, 0, xdim - 1, ydim - 1); - videoClearScreen(0); } //==========================================================================