mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 06:03:38 +00:00
Propertly deinitialize sampler FBO/Texture, fixes #14586,#14805
This commit is contained in:
parent
5544b89750
commit
3ca06e1184
@ -6048,6 +6048,7 @@ void RasterizerStorageGLES3::_render_target_clear(RenderTarget *rt) {
|
||||
glDeleteTextures(1, &rt->effects.mip_maps[i].color);
|
||||
rt->effects.mip_maps[i].sizes.clear();
|
||||
rt->effects.mip_maps[i].levels = 0;
|
||||
rt->effects.mip_maps[i].color = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user