dungeon_crawler

diff prototype/src/renderer.cc @ 37:84a56fb24850

fuck that uninitialized variable
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 29 Aug 2012 01:04:01 +0300
parents d0e93b4d9ec9
children acfe0c0110fc
line diff
     1.1 --- a/prototype/src/renderer.cc	Tue Aug 28 06:36:20 2012 +0300
     1.2 +++ b/prototype/src/renderer.cc	Wed Aug 29 01:04:01 2012 +0300
     1.3 @@ -12,7 +12,7 @@
     1.4  #undef DBG_VIS_MRT
     1.5  
     1.6  #ifdef DBG_VIS_MRT
     1.7 -static void deferred_debug();
     1.8 +static void draw_deferred_debug();
     1.9  #endif
    1.10  
    1.11  static bool create_fbo(int xsz, int ysz);
    1.12 @@ -154,7 +154,7 @@
    1.13  	glBindFramebufferEXT(GL_FRAMEBUFFER, 0);
    1.14  
    1.15  #ifdef DBG_VIS_MRT
    1.16 -	deferred_debug();
    1.17 +	draw_deferred_debug();
    1.18  #else
    1.19  
    1.20  	// post-process lighting
    1.21 @@ -280,7 +280,7 @@
    1.22  
    1.23  #ifdef DBG_VIS_MRT
    1.24  // visualize the MRT buffers
    1.25 -static void deferred_debug()
    1.26 +static void draw_deferred_debug()
    1.27  {
    1.28  	glPushAttrib(GL_ENABLE_BIT | GL_POLYGON_BIT);
    1.29  	glUseProgram(deferred_debug);