X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture.h;h=e3697d2e712404940728085cce8b7ae0ea2818e5;hb=e92de029768eef5f0fd744329e589161b46d0762;hp=58e22d358a6a82f2f321b3ba553b9a5b2ce00fc6;hpb=9b3bce7ae76ff8c0c81315d2505ea96bf422a318;p=libs%2Fgl.git diff --git a/source/core/texture.h b/source/core/texture.h index 58e22d35..e3697d2e 100644 --- a/source/core/texture.h +++ b/source/core/texture.h @@ -86,6 +86,8 @@ protected: void set_parameter_i(GLenum, int) const; public: + PixelFormat get_format() const { return format; } + static bool can_generate_mipmap(); void generate_mipmap();