diff options
author | Miguel Borges de Freitas <92enen@gmail.com> | 2024-07-13 15:32:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-13 15:32:40 +0100 |
commit | 20fcebda08ce8a4510c96e960ecdf8e0cc54a153 (patch) | |
tree | a75ef0ca699257a2bdb71019abe4caa42183411d | |
parent | 14883988649cce94b49f186ab64aa76a15ca1f3c (diff) | |
parent | 7562fcd6d7e14150b5a3580defceb40b51713a3b (diff) |
Merge pull request #25479 from enen92/fix_teletext_android
[Texture] Fix NPOT condition
-rw-r--r-- | xbmc/guilib/TextureBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/guilib/TextureBase.cpp b/xbmc/guilib/TextureBase.cpp index 3d2ea6e760..e6154ac624 100644 --- a/xbmc/guilib/TextureBase.cpp +++ b/xbmc/guilib/TextureBase.cpp @@ -32,7 +32,7 @@ void CTextureBase::Allocate(uint32_t width, uint32_t height, XB_FMT format) m_textureWidth = m_imageWidth; m_textureHeight = m_imageHeight; - if (!CServiceBroker::GetRenderSystem()->SupportsNPOT((m_textureFormat & KD_TEX_FMT_TYPE_MASK) != + if (!CServiceBroker::GetRenderSystem()->SupportsNPOT((m_textureFormat & KD_TEX_FMT_TYPE_MASK) == KD_TEX_FMT_S3TC)) { m_textureWidth = PadPow2(m_textureWidth); |