mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #38 - Fix a few issues in the previous update
This commit is contained in:
@ -923,10 +923,13 @@ public class EaglercraftGPU {
|
||||
}
|
||||
|
||||
public static final void destroyCache() {
|
||||
stringCache.clear();
|
||||
mapTexturesGL.clear();
|
||||
mapQueriesGL.clear();
|
||||
mapDisplayListsGL.clear();
|
||||
GLSLHeader.destroy();
|
||||
DrawUtils.destroy();
|
||||
SpriteLevelMixer.destroy();
|
||||
InstancedFontRenderer.destroy();
|
||||
InstancedParticleRenderer.destroy();
|
||||
EffectPipelineFXAA.destroy();
|
||||
TextureCopyUtil.destroy();
|
||||
emulatedVAOs = false;
|
||||
emulatedVAOState = null;
|
||||
glesVers = -1;
|
||||
@ -936,13 +939,10 @@ public class EaglercraftGPU {
|
||||
hasFramebufferHDR16FSupport = false;
|
||||
hasFramebufferHDR32FSupport = false;
|
||||
hasLinearHDR32FSupport = false;
|
||||
GLSLHeader.destroy();
|
||||
DrawUtils.destroy();
|
||||
SpriteLevelMixer.destroy();
|
||||
InstancedFontRenderer.destroy();
|
||||
InstancedParticleRenderer.destroy();
|
||||
EffectPipelineFXAA.destroy();
|
||||
TextureCopyUtil.destroy();
|
||||
stringCache.clear();
|
||||
mapTexturesGL.clear();
|
||||
mapQueriesGL.clear();
|
||||
mapDisplayListsGL.clear();
|
||||
}
|
||||
|
||||
public static final int checkOpenGLESVersion() {
|
||||
|
@ -169,7 +169,7 @@ public class EffectPipelineFXAA {
|
||||
}
|
||||
if(framebufferColor != -1) {
|
||||
GlStateManager.deleteTexture(framebufferColor);
|
||||
framebufferColor = -2;
|
||||
framebufferColor = -1;
|
||||
}
|
||||
if(framebufferDepth != null) {
|
||||
_wglDeleteRenderbuffer(framebufferDepth);
|
||||
|
Reference in New Issue
Block a user