aboutsummaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
authorJuan Linietsky2016-10-10 18:31:01 -0300
committerJuan Linietsky2016-10-10 18:31:01 -0300
commit1527cf8c0d17891dd0ebf99d484f83daa46eba3c (patch)
treea9a0fc5a00f8f57a973f2861d051b76f99642114 /core/os/os.h
parent850eaf7ed796d2f2d9a35c6bc4ba9a4e69f5ca1d (diff)
downloadgodot-1527cf8c0d17891dd0ebf99d484f83daa46eba3c.tar.gz
godot-1527cf8c0d17891dd0ebf99d484f83daa46eba3c.tar.zst
godot-1527cf8c0d17891dd0ebf99d484f83daa46eba3c.zip
2D Shaders are working again using the new syntax, though all is buggy in general
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h
index c2b46a542..d939198bf 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -120,7 +120,8 @@ public:
enum ErrorType {
ERR_ERROR,
ERR_WARNING,
- ERR_SCRIPT
+ ERR_SCRIPT,
+ ERR_SHADER
};
virtual void print_error(const char* p_function,const char* p_file,int p_line,const char *p_code,const char*p_rationale,ErrorType p_type=ERR_ERROR);