summaryrefslogtreecommitdiff
path: root/drivers/gles3
diff options
context:
space:
mode:
authorPanPan <ippan829@gmail.com>2017-05-17 16:41:49 +0800
committerPanPan <ippan829@gmail.com>2017-05-17 16:41:49 +0800
commit9079ef46e72bc9738659a7399e4574e3ae186b38 (patch)
treedbf0501a09b8756e10d0972eafd1c5ad1cceb765 /drivers/gles3
parentd801ff2b3db2de105c1b36a74ce116e360143d4e (diff)
fix varying in 3.0 shader
Diffstat (limited to 'drivers/gles3')
-rw-r--r--drivers/gles3/shader_compiler_gles3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shader_compiler_gles3.cpp b/drivers/gles3/shader_compiler_gles3.cpp
index 89b056df84..23bcb79b46 100644
--- a/drivers/gles3/shader_compiler_gles3.cpp
+++ b/drivers/gles3/shader_compiler_gles3.cpp
@@ -383,7 +383,7 @@ String ShaderCompilerGLES3::_dump_node_code(SL::Node *p_node, int p_level, Gener
String vcode;
vcode += _prestr(E->get().precission);
vcode += _typestr(E->get().type);
- vcode += " " + String(E->key());
+ vcode += " " + _mkid(E->key());
vcode += ";\n";
r_gen_code.vertex_global += "out " + vcode;
r_gen_code.fragment_global += "in " + vcode;