From da85de01deec91f5ebaed8e87d72063be34c2bfa Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Mon, 9 Jan 2017 14:22:00 +0100 Subject: [PATCH] Move prototype --- src/swrenderer/scene/r_things.h | 2 -- src/swrenderer/things/r_voxel.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/swrenderer/scene/r_things.h b/src/swrenderer/scene/r_things.h index 97ef51cbd..f0d9c098a 100644 --- a/src/swrenderer/scene/r_things.h +++ b/src/swrenderer/scene/r_things.h @@ -56,8 +56,6 @@ void R_DrawSprites (); void R_ClearSprites (); void R_DrawMasked (); -void R_CheckOffscreenBuffer(int width, int height, bool spansonly); - enum { DVF_OFFSCREEN = 1, DVF_SPANSONLY = 2, DVF_MIRRORED = 4 }; void R_ClipVisSprite (vissprite_t *vis, int xl, int xh); diff --git a/src/swrenderer/things/r_voxel.h b/src/swrenderer/things/r_voxel.h index a3dc12e91..e3daa0d15 100644 --- a/src/swrenderer/things/r_voxel.h +++ b/src/swrenderer/things/r_voxel.h @@ -35,6 +35,7 @@ namespace swrenderer kvxslab_t *R_GetSlabEnd(const FVoxelMipLevel &mip, int x, int y); kvxslab_t *R_NextSlab(kvxslab_t *slab); + void R_CheckOffscreenBuffer(int width, int height, bool spansonly); void R_DeinitRenderVoxel(); // [RH] A c-buffer. Used for keeping track of offscreen voxel spans.