remove unneeded RasterPosValid check
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 14 Nov 2005 18:23:56 +0000 (18:23 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 14 Nov 2005 18:23:56 +0000 (18:23 +0000)
src/mesa/swrast/s_drawpix.c

index bdccd1cad1957810564eaabce41c5e30c86a6e40..b60004b1d68a58452d5593e5d6290525d5856a23 100644 (file)
@@ -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;