dungeon_crawler
diff prototype/src/renderer.cc @ 16:91180ee7b7d9
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 20 Aug 2012 03:40:51 +0300 |
parents | 3a3236a4833c |
children | d98240a13793 |
line diff
1.1 --- a/prototype/src/renderer.cc Sun Aug 19 23:09:30 2012 +0300 1.2 +++ b/prototype/src/renderer.cc Mon Aug 20 03:40:51 2012 +0300 1.3 @@ -7,13 +7,13 @@ 1.4 #include "sdr.h" 1.5 #include "datapath.h" 1.6 1.7 -#define MRT_COUNT 4 1.8 +#define MRT_COUNT (sizeof mrt_sdr_file / sizeof *mrt_sdr_file) 1.9 1.10 static const char *mrt_sdr_file[][2] = { 1.11 - {0, "mrt0.p.glsl"}, 1.12 + {0, "mrt0.p.glsl"}/*, 1.13 {0, "mrt1.p.glsl"}, 1.14 {0, "mrt2.p.glsl"}, 1.15 - {0, "mrt3.p.glsl"} 1.16 + {0, "mrt3.p.glsl"}*/ 1.17 }; 1.18 1.19 static unsigned int mrt_prog[MRT_COUNT];