summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-16 16:11:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-16 16:11:23 +0300
commit3bc086323f5d81011b6ecb628afabaad881f5741 (patch)
treef6541f2f61dccf5b3dcb05c98666b7ce92900ced /src/resources
parent13bc3f6e9db3ec213286ded855c8a8095efbe70a (diff)
downloadmv-3bc086323f5d81011b6ecb628afabaad881f5741.tar.gz
mv-3bc086323f5d81011b6ecb628afabaad881f5741.tar.bz2
mv-3bc086323f5d81011b6ecb628afabaad881f5741.tar.xz
mv-3bc086323f5d81011b6ecb628afabaad881f5741.zip
Dont set GL_TEXTURE_MAX_LEVEL on nacl.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/openglimagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index 49f28d596..0010d88b6 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -348,7 +348,7 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage,
mglTexParameteri(mTextureType, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
}
}
-#ifndef ANDROID
+#if !defined(ANDROID) && !defined(__native_client__)
mglTexParameteri(mTextureType, GL_TEXTURE_MAX_LEVEL, 0);
#endif