X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture.h;h=db6165fed82628206f29d69b39036d2160edefca;hb=7d7a8f9e77a526fd5f2920b9005805e56a4b686c;hp=79d79dbd68fbc8c8908b04f180501c6335b783ab;hpb=4d7f66ea28c788e12f700216b9c53af9e71b8390;p=libs%2Fgl.git diff --git a/source/texture.h b/source/texture.h index 79d79dbd..db6165fe 100644 --- a/source/texture.h +++ b/source/texture.h @@ -144,6 +144,10 @@ public: when a texture image is uploaded. */ void set_generate_mipmap(bool); +protected: + void auto_generate_mipmap(); + +public: /** Sets depth texture comparison. Has no effect on other formats. When comparison is enabled, the third component of the texture coordinate is compared against the texel value, and the result is returned as the texture