From: Brian Paul Date: Tue, 26 Sep 2000 15:25:01 +0000 (+0000) Subject: use GL_NEAREST texture filter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63c113a31be2de3a53f38aab622565308d9724b9;p=mesa.git use GL_NEAREST texture filter --- diff --git a/progs/demos/texenv.c b/progs/demos/texenv.c index b7d7002af8e..6cf855887e2 100644 --- a/progs/demos/texenv.c +++ b/progs/demos/texenv.c @@ -548,8 +548,8 @@ static void drawSample( int x, int y, int w, int h, glTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, envMode->mode ); glTexEnvfv( GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, envColors[envColor] ); - glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR ); - glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR ); + glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST ); + glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST ); glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP ); glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP );