Bug 1404536 - ESSL3 needs texture() not texture2D(). - r=snorp

MozReview-Commit-ID: CJxOVbkItJX
This commit is contained in:
Jeff Gilbert 2017-10-19 14:35:03 -07:00
parent 62ca2c9829
commit 747359fc3f

View File

@ -56,7 +56,11 @@ const char* const kFragHeader_Tex2DRect = "\
const char* const kFragHeader_TexExt = "\
#extension GL_OES_EGL_image_external : require \n\
#define SAMPLER samplerExternalOES \n\
#define TEXTURE texture2D \n\
#if __VERSION__ >= 130 \n\
#define TEXTURE texture \n\
#else \n\
#define TEXTURE texture2D \n\
#endif \n\
";
const char* const kFragBody_RGBA = "\