summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-12-08 20:46:49 -0800
committerKenneth Graunke <kenneth@whitecape.org>2010-12-08 20:46:49 -0800
commitf9c7188af4cb3a2ab0994c4b9f89980284917781 (patch)
treea6dac326d453e815e17fb6e7255995ced9938384
parent6ca27d9f0fe57b0ba61218a0dca2021777afd54d (diff)
Use GL_LINEAR instead of GL_NEAREST for the texture filtering.
-rwxr-xr-xsrc/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ea90480..eb9df09 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -401,9 +401,9 @@ Init(void)
glBindTexture(GL_TEXTURE_CUBE_MAP, cubemap);
glTexParameteri(GL_TEXTURE_CUBE_MAP,
- GL_TEXTURE_MIN_FILTER, GL_NEAREST);
+ GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_CUBE_MAP,
- GL_TEXTURE_MAG_FILTER, GL_NEAREST);
+ GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_CUBE_MAP,
GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_CUBE_MAP,