GL does not allow mipmapping for mag filters,
but it doesn't have a problem with it for min
filters.
g_assert (GSK_IS_GL_COMMAND_QUEUE (self));
g_assert (!GDK_IS_GL_TEXTURE (texture));
- g_assert (min_filter == GL_LINEAR || min_filter == GL_NEAREST);
- g_assert (mag_filter == GL_LINEAR || min_filter == GL_NEAREST);
+ g_assert (mag_filter == GL_LINEAR || mag_filter == GL_NEAREST);
width = gdk_texture_get_width (texture);
height = gdk_texture_get_height (texture);