mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-25 14:44:28 +00:00
properly clear PBRAtlasTexture (#2085)
This commit is contained in:
1 parent
37a10eee3f
commit
6f054a09a9
4 files changed
+17
-2
No files matched your search
+3
-1
@@ -6,7 +6,9 @@ import org.lwjgl.opengl.GL11;
|
||||
|
||||
public abstract class AutoClosableAbstractTexture extends AbstractTexture implements AutoCloseable {
|
||||
@Override
|
||||
public void close() throws Exception {}
|
||||
public void close() {
|
||||
deleteGlTexture();
|
||||
}
|
||||
|
||||
// TODO: Is this needed?
|
||||
public void bind() {
|
||||
|
||||
Reference in new issue
Block a user