[GLES2] fix texture flags not having an effect
This commit is contained in:
parent
398c1c1c0c
commit
8884b3daad
1 changed files with 2 additions and 0 deletions
|
@ -640,6 +640,8 @@ void RasterizerStorageGLES2::texture_set_flags(RID p_texture, uint32_t p_flags)
|
|||
|
||||
bool had_mipmaps = texture->flags & VS::TEXTURE_FLAG_MIPMAPS;
|
||||
|
||||
texture->flags = p_flags;
|
||||
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
glBindTexture(texture->target, texture->tex_id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue