From c55c963f4c3ec6101241501de0f759520b985853 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 9 Nov 2004 01:04:50 +0000 Subject: Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead. --- src/mesa/drivers/x11/xm_dd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers/x11/xm_dd.c') diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c index a83c5ec3ec..bee46a53a8 100644 --- a/src/mesa/drivers/x11/xm_dd.c +++ b/src/mesa/drivers/x11/xm_dd.c @@ -31,6 +31,7 @@ #include "drawpix.h" #include "extensions.h" #include "macros.h" +#include "image.h" #include "imports.h" #include "mtypes.h" #include "state.h" @@ -43,7 +44,6 @@ #include "swrast/swrast.h" #include "swrast/s_auxbuffer.h" #include "swrast/s_context.h" -#include "swrast/s_drawpix.h" #include "swrast/s_alphabuf.h" #include "swrast_setup/swrast_setup.h" #include "tnl/tnl.h" @@ -865,7 +865,7 @@ xmesa_DrawPixels_8R8G8B( GLcontext *ctx, pixels = ADD_POINTERS(buf, pixels); } - if (_swrast_clip_pixelrect(ctx, &dstX, &dstY, &w, &h, &srcX, &srcY)) { + if (_mesa_clip_drawpixels(ctx, &dstX, &dstY, &w, &h, &srcX, &srcY)) { /* This is a little tricky since all coordinates up to now have * been in the OpenGL bottom-to-top orientation. X is top-to-bottom * so we have to carefully compute the Y coordinates/addresses here. @@ -968,7 +968,7 @@ xmesa_DrawPixels_5R6G5B( GLcontext *ctx, pixels = ADD_POINTERS(buf, pixels); } - if (_swrast_clip_pixelrect(ctx, &dstX, &dstY, &w, &h, &srcX, &srcY)) { + if (_mesa_clip_drawpixels(ctx, &dstX, &dstY, &w, &h, &srcX, &srcY)) { /* This is a little tricky since all coordinates up to now have * been in the OpenGL bottom-to-top orientation. X is top-to-bottom * so we have to carefully compute the Y coordinates/addresses here. -- cgit v1.2.3