build fix
This commit is contained in:
parent
a0ef58418b
commit
9f4a616f2e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue