cogl/texture: Drop set_auto_mipmap vfunc
As it is only relavant for 2D textures. Allows getting rid of the is-primitive property which was enforcing only 2D textures can use the set_auto_mipmap function. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4200>
This commit is contained in:

committed by
Marge Bot

parent
f613c82ab5
commit
4ee657e31f
@ -193,7 +193,7 @@ set_auto_mipmap_cb (CoglTexture *sub_texture,
|
||||
const float *meta_coords,
|
||||
void *user_data)
|
||||
{
|
||||
cogl_texture_set_auto_mipmap (sub_texture, FALSE);
|
||||
cogl_texture_2d_set_auto_mipmap (COGL_TEXTURE_2D (sub_texture), FALSE);
|
||||
}
|
||||
|
||||
CoglTexture *
|
||||
|
Reference in New Issue
Block a user