summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-11-14 18:23:56 +0000
committerBrian Paul <[email protected]>2005-11-14 18:23:56 +0000
commitcb6b47b795e3865690defc809416e5b5b95f226a (patch)
treecef9f73095f7d45b82fe158ed72e04aa5a54a374 /src
parent7b98b40e4756108dd096299297f03261ec9fd617 (diff)
remove unneeded RasterPosValid check
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_drawpix.c4
1 files changed, 0 insertions, 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;