[nostalgia/core/userland] Fix GLobject to destruct upon reassignment
This commit is contained in:
parent
6bdee3fc1c
commit
c2554cebdb
@ -50,6 +50,7 @@ struct GLobject: public Base {
|
||||
}
|
||||
|
||||
GLobject &operator=(GLobject &&o) {
|
||||
this->~GLobject();
|
||||
id = o.id;
|
||||
o.id = 0;
|
||||
return *this;
|
||||
|
Loading…
Reference in New Issue
Block a user