ref: 23da30843473d7ec2a0c8d26c007a2de8606134b
parent: ede32c9248bd56240ec4b68220d9e95164504c8c
author: unknown <fabien@fabien-PC.(none)>
date: Sat Feb 9 10:11:28 EST 2013
Don't clear the screen each frame: The status bar is not drawn.
--- a/Engine/src/draw.h
+++ b/Engine/src/draw.h
@@ -80,7 +80,7 @@
//FCS: In order to see how the engine renders different part of the screen you can set the following macros
//VISUALIZE RENDERER
-#define MAX_PIXEL_RENDERERED ((640*480)+20000 )
+#define MAX_PIXEL_RENDERERED ((1600*1200)+20000 )
extern int32_t pixelsAllowed;
#define RENDER_DRAW_WALL_BORDERS 1
@@ -89,7 +89,7 @@
#define RENDER_DRAW_TOP_AND_BOTTOM_COLUMN 1
#define RENDER_SLOPPED_CEILING_AND_FLOOR 1
-#if RENDER_DRAW_WALL_BORDERS && RENDER_DRAW_WALL_INSIDE && RENDER_DRAW_CEILING_AND_FLOOR && RENDER_DRAW_TOP_AND_BOTTOM_COLUMN && RENDER_SLOPPED_CEILING_AND_FLOOR && MAX_PIXEL_RENDERERED==0
+#if RENDER_DRAW_WALL_BORDERS && RENDER_DRAW_WALL_INSIDE && RENDER_DRAW_CEILING_AND_FLOOR && RENDER_DRAW_TOP_AND_BOTTOM_COLUMN && RENDER_SLOPPED_CEILING_AND_FLOOR && MAX_PIXEL_RENDERERED!=0
#define CLEAR_FRAMEBUFFER 0
#else
#define CLEAR_FRAMEBUFFER 1