- moved fbtex to post.c, made it a ping-pong buffer, added fbos for it.
[demo_prior] / src / post.h
1 #ifndef POST_H_
2 #define POST_H_
3
4 #include "texture.h"
5
6 extern struct texture fbtex[2];
7 extern int fbtex_cur;
8
9 int post_init(void);
10 void post_cleanup(void);
11 void post_reshape(int x, int y);
12
13 void overlay(unsigned int tex, float aspect, float alpha);
14 void overlay_tex(struct texture *tex, float alpha);
15
16 #endif  /* POST_H_ */