bloboland

diff src/texture.h @ 5:2f4406cc341e

meh
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 19 Dec 2012 02:37:20 +0200
parents 9021a906c5d3
children
line diff
     1.1 --- a/src/texture.h	Tue Dec 18 06:13:09 2012 +0200
     1.2 +++ b/src/texture.h	Wed Dec 19 02:37:20 2012 +0200
     1.3 @@ -5,6 +5,7 @@
     1.4  protected:
     1.5  	unsigned int type;
     1.6  	unsigned int tex;
     1.7 +	unsigned int intfmt;
     1.8  
     1.9  	int size[3];
    1.10  
    1.11 @@ -12,6 +13,8 @@
    1.12  	Texture();
    1.13  	virtual ~Texture();
    1.14  
    1.15 +	virtual void set_pixel_format(unsigned int fmt);
    1.16 +
    1.17  	virtual void set_filtering(unsigned int min_filter, unsigned int mag_filter = 0);
    1.18  	virtual void set_wrapping(unsigned int wrap);
    1.19