PiperOrigin-RevId: 484365654
This commit is contained in:
parent
fc1d75cc99
commit
abd1ff66c8
|
@ -161,7 +161,7 @@ class Texture {
|
||||||
|
|
||||||
~Texture() {
|
~Texture() {
|
||||||
if (is_owned_) {
|
if (is_owned_) {
|
||||||
glDeleteProgram(handle_);
|
glDeleteTextures(1, &handle_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user