mesa: rework texture completeness testing
[mesa.git] / src / mesa / swrast / s_tritemp.h
index 4d6309b82ac23572683fda617348f086a0233985..061759d26d2dc96e87a35732bd8966c2efb3cab8 100644 (file)
@@ -631,7 +631,7 @@ static void NAME(struct gl_context *ctx, const SWvertex *v0,
                   }
 #  ifdef DEPTH_TYPE
                   zRow = (DEPTH_TYPE *)
-                    zrb->GetPointer(ctx, zrb, FixedToInt(fxLeftEdge), span.y);
+                    _swrast_pixel_address(zrb, FixedToInt(fxLeftEdge), span.y);
                   dZRowOuter = (ctx->DrawBuffer->Width + idxOuter) * sizeof(DEPTH_TYPE);
 #  endif
                }