fixed incorrect checking of the existence of GLX_EXT_swap_control and friends
[demo_prior] / src / post.h
1 #ifndef POST_H_
2 #define POST_H_
3
4 #include "texture.h"
5
6 extern struct texture post_fbtex[2];
7 extern int post_fbtex_cur;
8 extern unsigned int post_fbo[2];
9
10 int post_init(void);
11 void post_cleanup(void);
12 void post_reshape(int x, int y);
13
14 void overlay(unsigned int tex, float aspect, float alpha);
15 void overlay_tex(struct texture *tex, float alpha);
16
17 /* blends a vignette overlay onto the framebuffer */
18 void vignette(float r, float g, float b, float offs, float sharp);
19
20 #endif  /* POST_H_ */