gsdx ogl: Intel driver keep the GL_ES macro undefined...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5785 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2013-12-30 14:48:26 +00:00
parent bdea4837c7
commit 33832b4479
1 changed files with 7 additions and 0 deletions

View File

@ -406,6 +406,13 @@ std::string GSShaderOGL::GenGlslHeader(const std::string& entry, GLenum type, co
header += "#define DISABLE_GL42_image\n";
#endif
#ifndef ENABLE_GLES
// Some driver define the MACRO to 0, others keep it undefined...
header += "#ifndef GL_ES\n";
header += "#define GL_ES 0\n";
header += "#endif\n";
#endif
// Allow to puts several shader in 1 files
switch (type) {
case GL_VERTEX_SHADER: