mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
bdea4837c7
commit
33832b4479
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue