Pretty confident I should be clearing textures on dispose()
This commit is contained in:
parent
381cab468c
commit
d7b46d6058
@ -78,8 +78,8 @@ public class RealisticRenderer extends RocketRenderer {
|
||||
|
||||
@Override
|
||||
public void dispose(GLAutoDrawable drawable) {
|
||||
flushTextureCache(drawable);
|
||||
super.dispose(drawable);
|
||||
|
||||
oldTexCache = null;
|
||||
texCache = null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user