about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/client/ec_gfx.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/engine/client/ec_gfx.c b/src/engine/client/ec_gfx.c
index 771c8515..e86d5473 100644
--- a/src/engine/client/ec_gfx.c
+++ b/src/engine/client/ec_gfx.c
@@ -529,7 +529,6 @@ static int record = 0;
 
 void gfx_swap()
 {
-	#if 0
 	if(record)
 	{
 		int w = screen_width;
@@ -598,7 +597,6 @@ void gfx_swap()
 		mem_free(pixel_data);
 		do_screenshot = 0;
 	}
-	#endif
 	
 	{
 		static PERFORMACE_INFO pscope = {"glfwSwapBuffers", 0};
@@ -608,7 +606,6 @@ void gfx_swap()
 		perf_end();
 	}
 	
-	if(0)
 	{
 		static PERFORMACE_INFO pscope = {"glFlush", 0};
 		perf_start(&pscope);
@@ -616,7 +613,6 @@ void gfx_swap()
 		perf_end();
 	}
 
-	if(0)
 	{
 		static PERFORMACE_INFO pscope = {"glFinish", 0};
 		perf_start(&pscope);
@@ -624,7 +620,6 @@ void gfx_swap()
 		perf_end();
 	}
 
-	if(0)
 	{
 		static PERFORMACE_INFO pscope = {"glfwPollEvents", 0};
 		perf_start(&pscope);