X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=demo_prior;a=blobdiff_plain;f=src%2Fpost.c;fp=src%2Fpost.c;h=91109b2d97770cb0a8438a95cd0355d73b4a9166;hp=b78284af298775818c6e2bb1c95a155b53bb9ef4;hb=5eefe7b94c8d6c6caa2c10e3835ab0831a3c42a1;hpb=ca5ddcfae04b0c10505325629d8a59e626811433 diff --git a/src/post.c b/src/post.c index b78284a..91109b2 100644 --- a/src/post.c +++ b/src/post.c @@ -1,29 +1,40 @@ -#include #include "opengl.h" #include "texture.h" #include "post.h" #include "demo.h" #include "opt.h" +#include "sdr.h" -static unsigned int fbtex_gltexid[2]; -static unsigned int fbo[2], rbuf_depth[2]; -struct texture fbtex[2]; -int fbtex_cur; +static unsigned int post_fbtex_gltexid[2]; +static unsigned int rbuf_depth[2]; + +unsigned int post_fbo[2]; +struct texture post_fbtex[2]; +int post_fbtex_cur; + +unsigned int post_sdr[MAX_POST_SDR]; int post_init(void) { int i; + static const char *psdr_fname[] = {"sdr/oldfig.p.glsl"}; + + for(i=0; i