--- a/xbmc/guilib/Texture.cpp
+++ b/xbmc/guilib/Texture.cpp
@@ -91,6 +91,11 @@ void CBaseTexture::Allocate(unsigned int width, unsigned int height, unsigned in
m_textureWidth = ((m_textureWidth + 3) / 4) * 4;
m_textureHeight = ((m_textureHeight + 3) / 4) * 4;
}
+ else
+ {
+ m_textureWidth = ((m_textureWidth + 1) / 2) * 2;
+ m_textureHeight = ((m_textureHeight + 1) / 2) * 2;
+ }
// check for max texture size
#define CLAMP(x, y) { if (x > y) x = y; }