Fixed Texture Blending on Generating Level Screen

This commit is contained in:
PeytonPlayz595 2023-07-17 01:00:07 -04:00
parent a344b89268
commit 75f5ec3985

View File

@ -59,7 +59,9 @@ public class RenderEngine {
singleIntBuffer.clear();
GLAllocation.generateTextureNames(singleIntBuffer);
int i = singleIntBuffer.get(0);
textureBlending = true;
setupTexture(bufferedimage, i);
textureBlending = false;
textureNameToImageMap.put(Integer.valueOf(i), bufferedimage);
return i;
}