From 1add059bd114f90e32c4b574be411d314eca6d90 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 14 Dec 2005 03:04:58 +0000 Subject: Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be done with fragment programs nowadays. --- src/mesa/swrast/s_drawpix.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mesa/swrast/s_drawpix.c') diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index 6af8023348..c550b88e7d 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -34,7 +34,6 @@ #include "s_context.h" #include "s_drawpix.h" -#include "s_pixeltex.h" #include "s_span.h" #include "s_stencil.h" #include "s_zoom.h" @@ -795,10 +794,6 @@ draw_rgba_pixels( GLcontext *ctx, GLint x, GLint y, (ctx->Pixel.HistogramEnabled && ctx->Histogram.Sink)) continue; - if (ctx->Pixel.PixelTextureEnabled && ctx->Texture._EnabledUnits) { - _swrast_pixel_texture(ctx, &span); - } - /* draw the span */ if (quickDraw) { rb->PutRow(ctx, rb, span.end, span.x, span.y, -- cgit v1.2.3