From cd9043fd9474f07f9f7c308cd16ea5f74b4d516e Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Sun, 15 Jan 2017 23:03:58 +0100 Subject: [PATCH] Make RenderActorView private --- src/swrenderer/scene/r_scene.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/swrenderer/scene/r_scene.h b/src/swrenderer/scene/r_scene.h index 31e074c08..599ef55fb 100644 --- a/src/swrenderer/scene/r_scene.h +++ b/src/swrenderer/scene/r_scene.h @@ -34,13 +34,14 @@ namespace swrenderer void SetClearColor(int color); - void RenderActorView(AActor *actor, bool dontmaplines = false); void RenderView(player_t *player); void RenderViewToCanvas(AActor *actor, DCanvas *canvas, int x, int y, int width, int height, bool dontmaplines = false); bool DontMapLines() const { return dontmaplines; } private: + void RenderActorView(AActor *actor, bool dontmaplines = false); + bool dontmaplines = false; int clearcolor = 0; };