mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +00:00
Fixes recently introduced shader leaks
This commit is contained in:
parent
b740f645f7
commit
997d367b51
3 changed files with 11 additions and 2 deletions
|
|
@ -2497,7 +2497,7 @@ RasterizerCanvasRD::~RasterizerCanvasRD() {
|
|||
_dispose_bindings();
|
||||
//anything remains?
|
||||
if (bindings.texture_bindings.size()) {
|
||||
ERR_PRINT("Some texture bindings were not properly freed (leaked canvasitems?");
|
||||
ERR_PRINT("Some texture bindings were not properly freed (leaked CanvasItems?)");
|
||||
const TextureBindingID *key = nullptr;
|
||||
while ((key = bindings.texture_bindings.next(key))) {
|
||||
TextureBinding *tb = bindings.texture_bindings[*key];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue