Merge pull request #21325 from karroffel/gles2-texture-flags
[GLES2] fix texture flags not having an effect
This commit is contained in:
commit
b2494d3898
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