ref: 47b45ecfc357fa61be133e776d3d84f8f9d0b152
parent: aa3570b9b17ae71fb8dbd5c53948cbd3781a24ad
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Oct 16 05:57:03 EDT 2023
d_init: remove unused stuff
--- a/d_init.c
+++ b/d_init.c
@@ -40,59 +40,6 @@
r_aliasuvscale = 1.0;
}
-
-/*
-===============
-D_CopyRects
-===============
-*/
-void D_CopyRects (vrect_t *prects, int transparent)
-{
-
-// this function is only required if the CPU doesn't have direct access to the
-// back buffer, and there's some driver interface function that the driver
-// doesn't support and requires Quake to do in software (such as drawing the
-// console); Quake will then draw into wherever the driver points vid.buffer
-// and will call this function before swapping buffers
-
- USED(prects);
- USED(transparent);
-}
-
-
-/*
-===============
-D_EnableBackBufferAccess
-===============
-*/
-void D_EnableBackBufferAccess (void)
-{
- VID_LockBuffer ();
-}
-
-
-/*
-===============
-D_TurnZOn
-===============
-*/
-void D_TurnZOn (void)
-{
-// not needed for software version
-}
-
-
-/*
-===============
-D_DisableBackBufferAccess
-===============
-*/
-void D_DisableBackBufferAccess (void)
-{
- VID_UnlockBuffer ();
-}
-
-
/*
===============
D_SetupFrame