From cb6b47b795e3865690defc809416e5b5b95f226a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 14 Nov 2005 18:23:56 +0000 Subject: [PATCH] remove unneeded RasterPosValid check --- src/mesa/swrast/s_drawpix.c | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.30.2