medfall

A super great game engine
Log | Files | Refs

commit ccb3229cbc04605c52635b8156ae60d83effb94f
parent 0d493b8e619fa7055d2562317d156618257b1e9d
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon Aug 28 11:34:09 +0100

Handy debugging code

Diffstat:
renderer.cc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/renderer.cc b/renderer.cc @@ -288,6 +288,10 @@ static GLuint new_gl_shader( GLenum type, array< const char * > srcs ) { glGetShaderInfoLog( shader, sizeof( buf ), NULL, buf ); WARN( "shader compilation failed: {}", buf ); + // static char src[ 65536 ]; + // glGetShaderSource( shader, sizeof( src ), NULL, src ); + // printf( "%s\n", src ); + return INVALID_SHADER; }