1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Fix build error and warning with Android

This commit is contained in:
fzurita 2020-11-15 11:03:08 -05:00 committed by Sergey Lipskiy
parent 78c89fbbfd
commit e89f5fedcc
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -1408,6 +1408,8 @@ void TextureCache::activateTexture(u32 _t, CachedTexture *_pTexture)
case DrawingState::ScreenSpaceTriangle:
params.maxAnisotropy = Parameter(config.texture.maxAnisotropyF);
break;
default:
break;
}
}
}