aboutsummaryrefslogtreecommitdiff
path: root/xbmc/RenderSystemGL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/RenderSystemGL.cpp')
-rw-r--r--xbmc/RenderSystemGL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/RenderSystemGL.cpp b/xbmc/RenderSystemGL.cpp
index 60d7844ad6..865fc5df64 100644
--- a/xbmc/RenderSystemGL.cpp
+++ b/xbmc/RenderSystemGL.cpp
@@ -81,7 +81,7 @@ bool CRenderSystemGL::InitRenderSystem()
if (glewIsSupported("GL_EXT_texture_compression_s3tc"))
m_renderCaps |= RENDER_CAPS_DXT;
- if (GLEW_ARB_texture_non_power_of_two || m_RenderVersionMajor >= 2)
+ if (glewIsSupported("GL_ARB_texture_non_power_of_two"))
{
m_renderCaps |= RENDER_CAPS_NPOT;
if (m_renderCaps & RENDER_CAPS_DXT && !g_sysinfo.IsAppleTV()) // This may not be correct on all hardware, Apple Tv(Nvidia 7300) having problems with this