diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-02 03:36:41 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-02 03:36:41 +0000 |
commit | a517cc1ef608af537e7462f3d4111b38a1208ca7 (patch) | |
tree | 37e490baba5457f4cd6cd0dfc98072c8795f91d2 /src/mesa | |
parent | b343f06a0963dda416754ce2511b32afd3fadabe (diff) |
remove unneeded assertion in stencil/depth LOCAL_DEPTH_VARS code
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_span.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_span.c b/src/mesa/drivers/dri/r200/r200_span.c index 9f910ebacc..898ff61e76 100644 --- a/src/mesa/drivers/dri/r200/r200_span.c +++ b/src/mesa/drivers/dri/r200/r200_span.c @@ -80,15 +80,13 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define LOCAL_DEPTH_VARS \ r200ContextPtr rmesa = R200_CONTEXT(ctx); \ - r200ScreenPtr r200Screen = rmesa->r200Screen; \ __DRIscreenPrivate *sPriv = rmesa->dri.screen; \ __DRIdrawablePrivate *dPriv = rmesa->dri.drawable; \ driRenderbuffer *drb = (driRenderbuffer *) rb; \ GLuint height = dPriv->h; \ GLuint xo = dPriv->x; \ GLuint yo = dPriv->y; \ - char *buf = (char *)(sPriv->pFB + drb->offset); \ - assert(drb->offset == r200Screen->depthOffset); + char *buf = (char *)(sPriv->pFB + drb->offset); #define LOCAL_STENCIL_VARS LOCAL_DEPTH_VARS |