Fixed Texture Blending on Generating Level Screen
This commit is contained in:
parent
a344b89268
commit
75f5ec3985
|
@ -59,7 +59,9 @@ public class RenderEngine {
|
||||||
singleIntBuffer.clear();
|
singleIntBuffer.clear();
|
||||||
GLAllocation.generateTextureNames(singleIntBuffer);
|
GLAllocation.generateTextureNames(singleIntBuffer);
|
||||||
int i = singleIntBuffer.get(0);
|
int i = singleIntBuffer.get(0);
|
||||||
|
textureBlending = true;
|
||||||
setupTexture(bufferedimage, i);
|
setupTexture(bufferedimage, i);
|
||||||
|
textureBlending = false;
|
||||||
textureNameToImageMap.put(Integer.valueOf(i), bufferedimage);
|
textureNameToImageMap.put(Integer.valueOf(i), bufferedimage);
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user