X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture.h;h=f1a51767f577771477289c582375ab2170c98c11;hp=44e126570b741a28e4cdd332523bf3d2b7436c0e;hb=08e19bc2b4eba572bc7699378cf55cd8772ac67e;hpb=93fa68debcd6e416a1b20f43077f7a79525aaecb diff --git a/source/texture.h b/source/texture.h index 44e12657..f1a51767 100644 --- a/source/texture.h +++ b/source/texture.h @@ -130,6 +130,8 @@ protected: static DataType get_alloc_type(PixelFormat); void update_parameter(int) const; + void set_parameter_i(GLenum, int) const; + void set_parameter_f(GLenum, float) const; public: void set_min_filter(TextureFilter); void set_mag_filter(TextureFilter); @@ -188,6 +190,9 @@ public: virtual UInt64 get_data_size() const { return 0; } }; + +bool is_mipmapped(TextureFilter); + } // namespace GL } // namespace Msp