From 63c113a31be2de3a53f38aab622565308d9724b9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 26 Sep 2000 15:25:01 +0000 Subject: [PATCH] use GL_NEAREST texture filter --- progs/demos/texenv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.30.2