X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fpost.c;h=91109b2d97770cb0a8438a95cd0355d73b4a9166;hb=5eefe7b94c8d6c6caa2c10e3835ab0831a3c42a1;hp=c1a2a2304df540cc2aa47e0c99a1f3b01bafac34;hpb=3a9f6854df479d81442273c9d0b133c49c5c8f66;p=demo_prior diff --git a/src/post.c b/src/post.c index c1a2a23..91109b2 100644 --- a/src/post.c +++ b/src/post.c @@ -2,6 +2,86 @@ #include "texture.h" #include "post.h" #include "demo.h" +#include "opt.h" +#include "sdr.h" + +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