summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-23 21:27:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-23 22:50:35 +0300
commit5adc6140d3da7d1e0e7cffe6922a2ac506d731f0 (patch)
treef76c2f2855fdb0d29385d33271273a074fa2b751 /src
parent3b27e5015b81dc19d939794991c2e7c12ede0d49 (diff)
downloadmv-5adc6140d3da7d1e0e7cffe6922a2ac506d731f0.tar.gz
mv-5adc6140d3da7d1e0e7cffe6922a2ac506d731f0.tar.bz2
mv-5adc6140d3da7d1e0e7cffe6922a2ac506d731f0.tar.xz
mv-5adc6140d3da7d1e0e7cffe6922a2ac506d731f0.zip
Fix texture sampler settings.
Diffstat (limited to 'src')
-rw-r--r--src/resources/openglimagehelper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index 3b93460ad..31680c1bd 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -297,6 +297,5 @@ void OpenGLImageHelper::initTextureSampler(GLint id)
mglSamplerParameteri(id, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
mglSamplerParameteri(id, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
}
- mglSamplerParameteri(id, GL_TEXTURE_MAX_LEVEL, 0);
}
#endif