summaryrefslogtreecommitdiffstats
path: root/core/error_macros.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-10-10 18:31:01 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-10-10 18:31:01 -0300
commit1527cf8c0d17891dd0ebf99d484f83daa46eba3c (patch)
treea9a0fc5a00f8f57a973f2861d051b76f99642114 /core/error_macros.h
parent850eaf7ed796d2f2d9a35c6bc4ba9a4e69f5ca1d (diff)
downloadredot-engine-1527cf8c0d17891dd0ebf99d484f83daa46eba3c.tar.gz
2D Shaders are working again using the new syntax, though all is buggy in general
Diffstat (limited to 'core/error_macros.h')
-rw-r--r--core/error_macros.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/error_macros.h b/core/error_macros.h
index 6d931e899e..b656827463 100644
--- a/core/error_macros.h
+++ b/core/error_macros.h
@@ -49,7 +49,8 @@
enum ErrorHandlerType {
ERR_HANDLER_ERROR,
ERR_HANDLER_WARNING,
- ERR_HANDLER_SCRIPT
+ ERR_HANDLER_SCRIPT,
+ ERR_HANDLER_SHADER,
};
typedef void (*ErrorHandlerFunc)(void*,const char*,const char*,int p_line,const char *, const char *,ErrorHandlerType p_type);