dungeon_crawler
diff prototype/src/renderer_multipass.cc @ 62:f71381c9e245
gamo to xristo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 25 Sep 2012 06:59:11 +0300 |
parents | aa86119e3295 |
children | 7f52d6310317 |
line diff
1.1 --- a/prototype/src/renderer_multipass.cc Tue Sep 25 06:37:56 2012 +0300 1.2 +++ b/prototype/src/renderer_multipass.cc Tue Sep 25 06:59:11 2012 +0300 1.3 @@ -74,6 +74,8 @@ 1.4 1.5 void MultipassRenderer::render(const Level *level) const 1.6 { 1.7 + render_pre(level); 1.8 + 1.9 // render into the MRT buffers 1.10 glBindFramebufferEXT(GL_FRAMEBUFFER, fbo); 1.11 1.12 @@ -94,6 +96,8 @@ 1.13 1.14 glUseProgram(0); 1.15 curr_prog = 0; 1.16 + 1.17 + render_post(level); 1.18 } 1.19 1.20 static unsigned int load_sdr(const char *vfname, const char *pfname)