X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture.h;h=1b80e950f08d93e54debd3bdc8b14ae4c7f458ac;hb=21eaad595acb574d81bad5140d24b570da4f9785;hp=f1a51767f577771477289c582375ab2170c98c11;hpb=08e19bc2b4eba572bc7699378cf55cd8772ac67e;p=libs%2Fgl.git 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;