build fix

This commit is contained in:
degasus 2013-02-14 19:04:52 +01:00
parent a0ef58418b
commit 9f4a616f2e
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ void ProgramShaderCache::CreateHeader ( void )
// as sandy do ogl3.1, glsl 140 is supported, so force it in this way. // as sandy do ogl3.1, glsl 140 is supported, so force it in this way.
// TODO: remove this again when the issue is fixed: // TODO: remove this again when the issue is fixed:
// see http://communities.intel.com/thread/36084 // 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; bool intel_windows_hack = strcmp(vendor, "Intel") == 0;
#else #else
bool intel_windows_hack = false; bool intel_windows_hack = false;