aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobo1on1 <bob-nospam-@xbmc.org>2011-01-14 14:59:44 +0100
committerbobo1on1 <bob-nospam-@xbmc.org>2011-01-14 15:00:02 +0100
commitc67f101c90117edbfffaa0ef68703d8f7694e4c9 (patch)
tree5bbab4b3b3e0fa3ac13a2a5559eae559cc50bf84
parenta614d2403690615fd9cfe251109d9a26da02ac86 (diff)
fixed: gles doesn't have glewGetExtension
-rw-r--r--xbmc/utils/log.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/utils/log.cpp b/xbmc/utils/log.cpp
index d702907dc6..5342b38288 100644
--- a/xbmc/utils/log.cpp
+++ b/xbmc/utils/log.cpp
@@ -31,6 +31,7 @@
#include "Settings.h"
#include "AdvancedSettings.h"
#include "Thread.h"
+#include "WindowingFactory.h"
FILE* CLog::m_file = NULL;
int CLog::m_repeatCount = 0;
@@ -358,7 +359,7 @@ void LogGraphicsInfo()
#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
- if (glewGetExtension("GL_NVX_gpu_memory_info"))
+ if (g_Windowing.IsExtSupported("GL_NVX_gpu_memory_info"))
{
GLint mem = 0;