diff --git a/src/Graphics/OpenGLContext/opengl_BufferManipulationObjectFactory.cpp b/src/Graphics/OpenGLContext/opengl_BufferManipulationObjectFactory.cpp index da2fcd04..61de0845 100644 --- a/src/Graphics/OpenGLContext/opengl_BufferManipulationObjectFactory.cpp +++ b/src/Graphics/OpenGLContext/opengl_BufferManipulationObjectFactory.cpp @@ -311,7 +311,7 @@ struct FramebufferTextureFormatsGLES3 : public graphics::FramebufferTextureForma #ifdef OS_ANDROID // If EGL image support is available, override above - if (m_glinfo.eglImage) { + if (_glinfo.eglImage) { colorInternalFormat = GL_RGBA8; colorFormat = GL_RGBA; colorType = GL_UNSIGNED_BYTE; diff --git a/src/Textures.cpp b/src/Textures.cpp index b070f7b2..7df36e49 100644 --- a/src/Textures.cpp +++ b/src/Textures.cpp @@ -1408,6 +1408,8 @@ void TextureCache::activateTexture(u32 _t, CachedTexture *_pTexture) case DrawingState::ScreenSpaceTriangle: params.maxAnisotropy = Parameter(config.texture.maxAnisotropyF); break; + default: + break; } } }