X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture.h;h=1b80e950f08d93e54debd3bdc8b14ae4c7f458ac;hp=f1a51767f577771477289c582375ab2170c98c11;hb=cdf928f03f4d8383b8fa978abc4c255a850ec061;hpb=bdde5adcb78836c4d75196546059ae827cf3af9e diff --git a/source/texture.h b/source/texture.h index f1a51767..1b80e950 100644 --- a/source/texture.h +++ b/source/texture.h @@ -109,6 +109,7 @@ protected: unsigned id; GLenum target; + PixelFormat ifmt; TextureFilter min_filter; TextureFilter mag_filter; float max_anisotropy; @@ -128,6 +129,7 @@ public: protected: static DataType get_alloc_type(PixelFormat); + void set_internal_format(PixelFormat); void update_parameter(int) const; void set_parameter_i(GLenum, int) const;