diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-04-22 01:03:22 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-04-22 01:03:22 +0000 |
commit | 9ad2ce070ee8ccf4c1b98c6a3de7a978d5465335 (patch) | |
tree | 6e778fe503dba7e29da3ae811295bf15687d94a3 /src/mesa/main | |
parent | 96461a25c33219d0204e86a514a22ad960c52dde (diff) |
removed old profiling code
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/buffers.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index 336f0223d7..834940129c 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -1,4 +1,4 @@ -/* $Id: buffers.c,v 1.6 2000/04/11 21:36:29 brianp Exp $ */ +/* $Id: buffers.c,v 1.7 2000/04/22 01:03:22 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -240,9 +240,6 @@ void _mesa_Clear( GLbitfield mask ) { GET_CURRENT_CONTEXT(ctx); -#ifdef PROFILE - GLdouble t0 = gl_time(); -#endif ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx, "glClear"); if (MESA_VERBOSE & VERBOSE_API) @@ -302,11 +299,6 @@ _mesa_Clear( GLbitfield mask ) && ctx->Color.ColorMask[RCOMP]) { _mesa_clear_alpha_buffers( ctx ); } - -#ifdef PROFILE - ctx->ClearTime += gl_time() - t0; - ctx->ClearCount++; -#endif } } |