Bläddra i källkod

GuiTextures should not be invisible by default

Frans Bergman 4 år sedan
förälder
incheckning
00565f9581

+ 1 - 1
src/main/java/eu/tankernn/gameEngine/renderEngine/gui/GuiTexture.java

@@ -9,7 +9,7 @@ public class GuiTexture {
 	private Texture texture;
 	protected Vector2f position;
 	protected float scale;
-	private float opacity;
+	private float opacity = 1.0f;
 	
 	public GuiTexture(Texture texture, Vector2f position, float scale) {
 		this.texture = texture;