mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +12:00
doormat
This commit is contained in:
parent
255947b2fc
commit
e67b98f990
2 changed files with 40 additions and 32 deletions
|
@ -33,11 +33,11 @@ void Texture::setNewConfig(u32 cfg) {
|
|||
}
|
||||
|
||||
void Texture::free() {
|
||||
valid = false;
|
||||
valid = false;
|
||||
|
||||
if (texture.exists()){
|
||||
glDeleteTextures(1, &texture.m_handle);
|
||||
}
|
||||
if (texture.exists()) {
|
||||
texture.free();
|
||||
}
|
||||
}
|
||||
|
||||
u64 Texture::sizeInBytes() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue