From 9f4a616f2ed841808141949451c32b75704ef268 Mon Sep 17 00:00:00 2001 From: degasus Date: Thu, 14 Feb 2013 19:04:52 +0100 Subject: [PATCH] build fix --- Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp b/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp index 4a943b42d5..bf4c0b7c1d 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp @@ -495,7 +495,7 @@ void ProgramShaderCache::CreateHeader ( void ) // as sandy do ogl3.1, glsl 140 is supported, so force it in this way. // TODO: remove this again when the issue is fixed: // see http://communities.intel.com/thread/36084 - u8 *vendor = glGetString(GL_VENDOR); + char *vendor = (char*)glGetString(GL_VENDOR); bool intel_windows_hack = strcmp(vendor, "Intel") == 0; #else bool intel_windows_hack = false;