mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 1404536 - ESSL3 needs texture() not texture2D(). - r=snorp
MozReview-Commit-ID: CJxOVbkItJX
This commit is contained in:
parent
62ca2c9829
commit
747359fc3f
@ -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 = "\
|
||||
|
Loading…
Reference in New Issue
Block a user