diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-23 21:27:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-23 22:50:35 +0300 |
commit | 5adc6140d3da7d1e0e7cffe6922a2ac506d731f0 (patch) | |
tree | f76c2f2855fdb0d29385d33271273a074fa2b751 /src/resources | |
parent | 3b27e5015b81dc19d939794991c2e7c12ede0d49 (diff) | |
download | plus-5adc6140d3da7d1e0e7cffe6922a2ac506d731f0.tar.gz plus-5adc6140d3da7d1e0e7cffe6922a2ac506d731f0.tar.bz2 plus-5adc6140d3da7d1e0e7cffe6922a2ac506d731f0.tar.xz plus-5adc6140d3da7d1e0e7cffe6922a2ac506d731f0.zip |
Fix texture sampler settings.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/openglimagehelper.cpp | 1 |
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 |