From 06671c4494a703f25275b130c458e1b6e97b1d07 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 13 Jan 2008 13:42:59 +0000 Subject: fixed various issues --- src/engine/client/ec_gfx.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/engine') 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); -- cgit 1.4.1