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