- moved fbtex to post.c, made it a ping-pong buffer, added fbos for it.
[demo_prior] / src / post.h
index d61dc5d..c942630 100644 (file)
@@ -1,7 +1,14 @@
 #ifndef POST_H_
 #define POST_H_
 
-struct texture;
+#include "texture.h"
+
+extern struct texture fbtex[2];
+extern int fbtex_cur;
+
+int post_init(void);
+void post_cleanup(void);
+void post_reshape(int x, int y);
 
 void overlay(unsigned int tex, float aspect, float alpha);
 void overlay_tex(struct texture *tex, float alpha);