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:
parent
78c89fbbfd
commit
e89f5fedcc
|
@ -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;
|
||||
|
|
|
@ -1408,6 +1408,8 @@ void TextureCache::activateTexture(u32 _t, CachedTexture *_pTexture)
|
|||
case DrawingState::ScreenSpaceTriangle:
|
||||
params.maxAnisotropy = Parameter(config.texture.maxAnisotropyF);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user