diff options
author | Brian Paul <[email protected]> | 2000-04-01 05:42:06 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-04-01 05:42:06 +0000 |
commit | 199d039bc365ce6b3f42037497b1e7ebe232bc69 (patch) | |
tree | 7f471d72cb3e97bdfee604f618bfb04cc11c5e52 /src/mesa/main/drawpix.c | |
parent | 25673f0cbadd657867e05ef1838779524593049b (diff) |
changes for GL_HP_occlusion_test
Diffstat (limited to 'src/mesa/main/drawpix.c')
-rw-r--r-- | src/mesa/main/drawpix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/drawpix.c b/src/mesa/main/drawpix.c index 111bdf8b713..d8b35279439 100644 --- a/src/mesa/main/drawpix.c +++ b/src/mesa/main/drawpix.c @@ -1,4 +1,4 @@ -/* $Id: drawpix.c,v 1.15 2000/03/21 01:03:40 brianp Exp $ */ +/* $Id: drawpix.c,v 1.16 2000/04/01 05:42:06 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -681,6 +681,8 @@ _mesa_DrawPixels( GLsizei width, GLsizei height, x = (GLint) (ctx->Current.RasterPos[0] + 0.5F); y = (GLint) (ctx->Current.RasterPos[1] + 0.5F); + ctx->OcclusionResult = GL_TRUE; + /* see if device driver can do the drawpix */ if (ctx->Driver.DrawPixels && (*ctx->Driver.DrawPixels)(ctx, x, y, width, height, format, type, |