X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=demo_prior;a=blobdiff_plain;f=src%2Fpost.h;fp=src%2Fpost.h;h=f228dedd1a6c66c72445b3653091c6f95ed1b2d2;hp=c9e586e624b1a5bb51f9a25209cd4f82e49eb1e2;hb=2f14a35e7d557da12f24056267b911f24774aa18;hpb=5eefe7b94c8d6c6caa2c10e3835ab0831a3c42a1 diff --git a/src/post.h b/src/post.h index c9e586e..f228ded 100644 --- a/src/post.h +++ b/src/post.h @@ -3,13 +3,6 @@ #include "texture.h" -enum { - POST_OLDFIG, - - MAX_POST_SDR -}; -extern unsigned int post_sdr[MAX_POST_SDR]; - extern struct texture post_fbtex[2]; extern int post_fbtex_cur; extern unsigned int post_fbo[2]; @@ -21,4 +14,7 @@ void post_reshape(int x, int y); void overlay(unsigned int tex, float aspect, float alpha); void overlay_tex(struct texture *tex, float alpha); +/* blends a vignette overlay onto the framebuffer */ +void vignette(float r, float g, float b, float offs, float sharp); + #endif /* POST_H_ */