gl: shader compile error on shield tablet
Don't use GL_NV_shader_noperspective_interpolation since it's not really needed (and wasn't enabled) Issue #510
This commit is contained in:
parent
943e0285ac
commit
083a1c85a8
|
@ -68,7 +68,7 @@ const char *PixelCompatShader = R"(
|
||||||
)";
|
)";
|
||||||
|
|
||||||
static const char* GouraudSource = R"(
|
static const char* GouraudSource = R"(
|
||||||
#if TARGET_GL == GL3 || defined(GL_NV_shader_noperspective_interpolation)
|
#if TARGET_GL == GL3
|
||||||
#define NOPERSPECTIVE noperspective
|
#define NOPERSPECTIVE noperspective
|
||||||
#if pp_Gouraud == 0
|
#if pp_Gouraud == 0
|
||||||
#define INTERPOLATION flat
|
#define INTERPOLATION flat
|
||||||
|
|
Loading…
Reference in New Issue