diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-10-10 18:31:01 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-10-10 18:31:01 -0300 |
commit | 1527cf8c0d17891dd0ebf99d484f83daa46eba3c (patch) | |
tree | a9a0fc5a00f8f57a973f2861d051b76f99642114 /drivers/unix/os_unix.cpp | |
parent | 850eaf7ed796d2f2d9a35c6bc4ba9a4e69f5ca1d (diff) |
2D Shaders are working again using the new syntax, though all is buggy in general
Diffstat (limited to 'drivers/unix/os_unix.cpp')
-rw-r--r-- | drivers/unix/os_unix.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index 271cf302ef..b9ee6178f0 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -88,6 +88,10 @@ void OS_Unix::print_error(const char* p_function,const char* p_file,int p_line,c print("\E[1;35mSCRIPT ERROR: %s: \E[0m\E[1m%s\n",p_function,err_details); print("\E[0;35m At: %s:%i.\E[0m\n",p_file,p_line); break; + case ERR_SHADER: + print("\E[1;36mSHADER ERROR: %s: \E[0m\E[1m%s\n",p_function,err_details); + print("\E[0;36m At: %s:%i.\E[0m\n",p_file,p_line); + break; } } |