diff options
author | QbieShay <cislaghi.ilaria@gmail.com> | 2018-10-18 23:28:51 +0200 |
---|---|---|
committer | QbieShay <cislaghi.ilaria@gmail.com> | 2018-11-22 19:06:43 +0100 |
commit | 09faac9e01f0b9e07b40993b9f0d6b1cf77a6a15 (patch) | |
tree | 0cb419ba9107ee8f9985b4bf5486344ae90291a8 | |
parent | f2cc9698433a32a05c76987acd20a07441313037 (diff) |
Added PROCESSED_UV for accessing ninepatch processed uv in the shader
-rw-r--r-- | drivers/gles3/shader_compiler_gles3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shader_compiler_gles3.cpp b/drivers/gles3/shader_compiler_gles3.cpp index 6cc27bd77a..31a4a4f6b0 100644 --- a/drivers/gles3/shader_compiler_gles3.cpp +++ b/drivers/gles3/shader_compiler_gles3.cpp @@ -787,7 +787,7 @@ ShaderCompilerGLES3::ShaderCompilerGLES3() { /** CANVAS ITEM SHADER **/ actions[VS::SHADER_CANVAS_ITEM].renames["VERTEX"] = "outvec.xy"; - actions[VS::SHADER_CANVAS_ITEM].renames["UV"] = "uv_interp"; + actions[VS::SHADER_CANVAS_ITEM].renames["UV"] = "uv"; actions[VS::SHADER_CANVAS_ITEM].renames["POINT_SIZE"] = "gl_PointSize"; actions[VS::SHADER_CANVAS_ITEM].renames["WORLD_MATRIX"] = "modelview_matrix"; |