diff options
author | Brian Paul <[email protected]> | 2000-09-26 15:25:01 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-09-26 15:25:01 +0000 |
commit | 63c113a31be2de3a53f38aab622565308d9724b9 (patch) | |
tree | 58be01843080d98323fb6f974227eae4271e4e21 /progs | |
parent | 423f2b28845dc8cc93c16a4608d6e19b6b059e6f (diff) |
use GL_NEAREST texture filter
Diffstat (limited to 'progs')
-rw-r--r-- | progs/demos/texenv.c | 4 |
1 files 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 ); |