summaryrefslogtreecommitdiff
path: root/drivers/gles2
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-01-13 13:49:18 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-01-13 13:49:18 -0300
commita327eee762e7f67b924b481a05268cacfbbed4ec (patch)
tree80b103234f0c060a6ae391d01ae9b7778fbe1c1f /drivers/gles2
parent823d7ae3b554100fc35c6223568452c8fa7adf11 (diff)
parentffe53061cdb38db19202b0218f6bda9a71fd411e (diff)
Merge pull request #1210 from sanikoyes/Pr-shader-refract
Pr-shader-add-missing-function-refract
Diffstat (limited to 'drivers/gles2')
-rw-r--r--drivers/gles2/shader_compiler_gles2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles2/shader_compiler_gles2.cpp b/drivers/gles2/shader_compiler_gles2.cpp
index 4d9563a82b..f1ddcf8009 100644
--- a/drivers/gles2/shader_compiler_gles2.cpp
+++ b/drivers/gles2/shader_compiler_gles2.cpp
@@ -690,6 +690,7 @@ ShaderCompilerGLES2::ShaderCompilerGLES2() {
replace_table["cross" ]="cross";
replace_table["normalize"]= "normalize";
replace_table["reflect"]= "reflect";
+ replace_table["refract"]= "refract";
replace_table["tex"]= "tex";
replace_table["texa"]= "texa";
replace_table["tex2"]= "tex2";