diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2016-02-10 04:27:45 +0100 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2016-02-11 07:13:07 +0100 |
commit | f253ff9f1ab246c67ee5d3fb520c584b384ee708 (patch) | |
tree | e7b04bf84958fe1cccfea7a703333774f8dec882 /src/shader.h | |
parent | 7e5eea9ad5f6b5a88c5b4b5bc1b2733cf451b9fd (diff) | |
download | minetest-f253ff9f1ab246c67ee5d3fb520c584b384ee708.tar.gz minetest-f253ff9f1ab246c67ee5d3fb520c584b384ee708.tar.bz2 minetest-f253ff9f1ab246c67ee5d3fb520c584b384ee708.zip |
Dump shader programs on compile errors
Diffstat (limited to 'src/shader.h')
-rw-r--r-- | src/shader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader.h b/src/shader.h index 811f33080..b8aa88bce 100644 --- a/src/shader.h +++ b/src/shader.h @@ -110,4 +110,7 @@ public: IWritableShaderSource* createShaderSource(IrrlichtDevice *device); +void dumpShaderProgram(std::ostream &output_stream, + const std::string &program_type, const std::string &program); + #endif |