mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix shader compilation error in GLES 3.0 mode.
This commit is contained in:
parent
f55a4aee8f
commit
a5c0674570
|
@ -780,7 +780,7 @@ const char * strTexrectDrawerFragmentShaderTex =
|
|||
"uniform sampler2D uTex0; \n"
|
||||
"uniform lowp int uEnableAlphaTest; \n"
|
||||
"uniform mediump vec2 uDepthScale; \n"
|
||||
"uniform lowp vec4 uTestColor = vec4(4.0/255.0, 2.0/255.0, 1.0/255.0, 0.0); \n"
|
||||
"lowp vec4 uTestColor = vec4(4.0/255.0, 2.0/255.0, 1.0/255.0, 0.0); \n"
|
||||
"in mediump vec2 vTexCoord0; \n"
|
||||
"out lowp vec4 fragColor; \n"
|
||||
"void main() \n"
|
||||
|
@ -800,7 +800,7 @@ const char * strTexrectDrawerFragmentShaderTex =
|
|||
|
||||
const char * strTexrectDrawerFragmentShaderClean =
|
||||
MAIN_SHADER_VERSION
|
||||
"uniform lowp vec4 uTestColor = vec4(4.0/255.0, 2.0/255.0, 1.0/255.0, 0.0); \n"
|
||||
"lowp vec4 uTestColor = vec4(4.0/255.0, 2.0/255.0, 1.0/255.0, 0.0); \n"
|
||||
"out lowp vec4 fragColor; \n"
|
||||
"void main() \n"
|
||||
"{ \n"
|
||||
|
|
Loading…
Reference in New Issue
Block a user