From 5adc6140d3da7d1e0e7cffe6922a2ac506d731f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 Oct 2012 21:27:53 +0300 Subject: Fix texture sampler settings. --- src/resources/openglimagehelper.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2