diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-16 16:11:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-16 16:11:23 +0300 |
commit | 3bc086323f5d81011b6ecb628afabaad881f5741 (patch) | |
tree | f6541f2f61dccf5b3dcb05c98666b7ce92900ced | |
parent | 13bc3f6e9db3ec213286ded855c8a8095efbe70a (diff) | |
download | manaverse-3bc086323f5d81011b6ecb628afabaad881f5741.tar.gz manaverse-3bc086323f5d81011b6ecb628afabaad881f5741.tar.bz2 manaverse-3bc086323f5d81011b6ecb628afabaad881f5741.tar.xz manaverse-3bc086323f5d81011b6ecb628afabaad881f5741.zip |
Dont set GL_TEXTURE_MAX_LEVEL on nacl.
-rw-r--r-- | src/resources/openglimagehelper.cpp | 2 |
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 |