diff options
author | Brian <[email protected]> | 2007-08-11 19:57:50 +0100 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-11 19:57:50 +0100 |
commit | 24e21301e0cc16f0a3a81bfd7ac7ae8765174da8 (patch) | |
tree | c5eb869263acb8cfee746747ebdafcc966e171a7 /src/mesa/main | |
parent | 24864741c58f9e40450f1ea05f7fc50d06050441 (diff) |
remove some temp pipe hacks
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/queryobj.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c index fc04dde3f49..0e59ba615a7 100644 --- a/src/mesa/main/queryobj.c +++ b/src/mesa/main/queryobj.c @@ -30,11 +30,6 @@ #include "queryobj.h" #include "mtypes.h" -#if 1 /*PIPE*/ -#include "pipe/p_context.h" -#include "state_tracker/st_context.h" -#endif - /** * Allocate a new query object. This is a fallback routine called via @@ -225,10 +220,6 @@ _mesa_BeginQueryARB(GLenum target, GLuint id) q->Result = 0; q->Ready = GL_FALSE; -#if 1 /*PIPE*/ - ctx->st->pipe->reset_occlusion_counter(ctx->st->pipe); -#endif - if (target == GL_SAMPLES_PASSED_ARB) { ctx->Query.CurrentOcclusionObject = q; } @@ -291,12 +282,6 @@ _mesa_EndQueryARB(GLenum target) /* if we're using software rendering/querying */ q->Ready = GL_TRUE; } - -#if 1 /*PIPE*/ - if (target == GL_SAMPLES_PASSED_ARB) { - q->Result = ctx->st->pipe->get_occlusion_counter(ctx->st->pipe); - } -#endif } |