From: Brian Paul Date: Mon, 14 Nov 2005 18:23:56 +0000 (+0000) Subject: remove unneeded RasterPosValid check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb6b47b795e3865690defc809416e5b5b95f226a;p=mesa.git remove unneeded RasterPosValid check --- diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index bdccd1cad19..b60004b1d68 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -58,10 +58,6 @@ fast_draw_pixels(GLcontext *ctx, GLint x, GLint y, INIT_SPAN(span, GL_BITMAP, 0, 0, SPAN_RGBA); - if (!ctx->Current.RasterPosValid) { - return GL_TRUE; /* no-op */ - } - if (swrast->_RasterMask & MULTI_DRAW_BIT) return GL_FALSE;