diff --git a/source/sw/src/interp.cpp b/source/sw/src/interp.cpp index c213386d2..2fdec8956 100644 --- a/source/sw/src/interp.cpp +++ b/source/sw/src/interp.cpp @@ -111,12 +111,4 @@ void restoreinterpolations(void) // Stick at end of drawscreen *curipos[i] = bakipos[i]; } -void togglespriteinterpolation(spritetype *sp, int set) -{ - auto func = set ? setinterpolation : stopinterpolation; - func(&sp->x); - func(&sp->y); - func(&sp->z); -} - END_SW_NS diff --git a/source/sw/src/interp.h b/source/sw/src/interp.h index 8ac33a8d4..aa44fec8e 100644 --- a/source/sw/src/interp.h +++ b/source/sw/src/interp.h @@ -50,11 +50,6 @@ void updateinterpolations(void); void dointerpolations(int smoothratio); void restoreinterpolations(void); -void togglespriteinterpolation(spritetype *sp, int set); - -static void FORCE_INLINE setspriteinterpolation(spritetype *sp) { togglespriteinterpolation(sp, 1); } -static void FORCE_INLINE stopspriteinterpolation(spritetype *sp) { togglespriteinterpolation(sp, 0); } - #endif END_SW_NS