From f253ff9f1ab246c67ee5d3fb520c584b384ee708 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Wed, 10 Feb 2016 04:27:45 +0100 Subject: Dump shader programs on compile errors --- src/shader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shader.h') 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 -- cgit v1.2.3