diff --git a/gdx/src/com/badlogic/gdx/graphics/Color.java b/gdx/src/com/badlogic/gdx/graphics/Color.java index 2b343908494..ed12505cc85 100644 --- a/gdx/src/com/badlogic/gdx/graphics/Color.java +++ b/gdx/src/com/badlogic/gdx/graphics/Color.java @@ -33,6 +33,7 @@ public class Color { public static final float WHITE_FLOAT_BITS = WHITE.toFloatBits(); public static final Color CLEAR = new Color(0, 0, 0, 0); + public static final Color CLEAR_WHITE = new Color(1, 1, 1, 0); public static final Color BLUE = new Color(0, 0, 1, 1); public static final Color NAVY = new Color(0, 0, 0.5f, 1); diff --git a/gdx/src/com/badlogic/gdx/graphics/Colors.java b/gdx/src/com/badlogic/gdx/graphics/Colors.java index cf11f7d7f4d..5da91dbbb28 100644 --- a/gdx/src/com/badlogic/gdx/graphics/Colors.java +++ b/gdx/src/com/badlogic/gdx/graphics/Colors.java @@ -60,6 +60,7 @@ public static Color put (String name, Color color) { public static void reset () { map.clear(); map.put("CLEAR", Color.CLEAR); + map.put("CLEAR_WHITE", Color.CLEAR_WHITE); map.put("BLACK", Color.BLACK); map.put("WHITE", Color.WHITE);