summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r--src/mesa/swrast/s_context.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c
index a8716d80f5..f81fc11835 100644
--- a/src/mesa/swrast/s_context.c
+++ b/src/mesa/swrast/s_context.c
@@ -692,10 +692,7 @@ _swrast_flush( GLcontext *ctx )
/* flush any pending fragments from rendering points */
if (swrast->PointSpan.end > 0) {
if (ctx->Visual.rgbMode) {
- if (ctx->Texture._EnabledCoordUnits)
- _swrast_write_texture_span(ctx, &(swrast->PointSpan));
- else
- _swrast_write_rgba_span(ctx, &(swrast->PointSpan));
+ _swrast_write_rgba_span(ctx, &(swrast->PointSpan));
}
else {
_swrast_write_index_span(ctx, &(swrast->PointSpan));