about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 13:42:59 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 13:42:59 +0000
commit06671c4494a703f25275b130c458e1b6e97b1d07 (patch)
tree80f8e151a49fd5e97fec6267744631dd7d09c635 /src/engine
parent4c987519b073f159ea7ab9273a6b30799fd1af36 (diff)
downloadzcatch-06671c4494a703f25275b130c458e1b6e97b1d07.tar.gz
zcatch-06671c4494a703f25275b130c458e1b6e97b1d07.zip
fixed various issues
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);