X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture.h;h=9c43b76911ecb5d00fcf517847f6a04001ed6241;hp=abccb8d8122de9db6519fff679232d9923392715;hb=72a13418cc19e750abf3f8d8a52aea5e1abe4983;hpb=1955e583d7eeeb0a2ff054d90c3694f575d9a08d diff --git a/source/texture.h b/source/texture.h index abccb8d8..9c43b769 100644 --- a/source/texture.h +++ b/source/texture.h @@ -163,6 +163,8 @@ public: void set_wrap_t(TextureWrap); void set_wrap_r(TextureWrap); + static bool can_generate_mipmap(); + /** Sets automatic mipmap generation. If enabled, mipmaps are generated when a texture image is uploaded. */ void set_generate_mipmap(bool);