diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-02-12 12:21:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 12:21:01 +0100 |
commit | 13c50e8aa569bf5fa01a7dc052cde8cdf1886c99 (patch) | |
tree | 85bac7eb1bfbc1ad867ce550b5e5b121644835ca /main/tests | |
parent | e40395669cf277e948e1a520a6584ce0deafd91a (diff) | |
parent | d308eb091a6c6d73442a118d7069e855ec2b1c6d (diff) |
Merge pull request #25481 from hpvb/fix-ubsan-asan-reports
Fix many asan and ubsan reported issues
Diffstat (limited to 'main/tests')
-rw-r--r-- | main/tests/test_shader_lang.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/tests/test_shader_lang.cpp b/main/tests/test_shader_lang.cpp index ebaf7fd602..8441748cc0 100644 --- a/main/tests/test_shader_lang.cpp +++ b/main/tests/test_shader_lang.cpp @@ -110,7 +110,7 @@ static String dump_node_code(SL::Node *p_node, int p_level) { for (Map<StringName, SL::ShaderNode::Uniform>::Element *E = pnode->uniforms.front(); E; E = E->next()) { String ucode = "uniform "; - ucode += _prestr(E->get().precission); + ucode += _prestr(E->get().precision); ucode += _typestr(E->get().type); ucode += " " + String(E->key()); @@ -137,7 +137,7 @@ static String dump_node_code(SL::Node *p_node, int p_level) { for (Map<StringName, SL::ShaderNode::Varying>::Element *E = pnode->varyings.front(); E; E = E->next()) { String vcode = "varying "; - vcode += _prestr(E->get().precission); + vcode += _prestr(E->get().precision); vcode += _typestr(E->get().type); vcode += " " + String(E->key()); |