summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-12-18 22:03:07 +0000
committerBrian Paul <[email protected]>2004-12-18 22:03:07 +0000
commita803b0c891404dcd7c376e91f6a033cd4e42abc3 (patch)
treec9483a42773d1d98548f8e6ab5484f659afe0162 /src/mesa/swrast/s_context.c
parentfeac30256730614bd60debe2167202bccb577aea (diff)
Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().
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 a8716d80f50..f81fc11835a 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));