I am using Libgdx for the first time and wondering what is wrong with this GLClearColor statement:
Gdx.gl.glClearColor(Color.BLACK.getRed(), Color.BLACK.getGreen(),
Color.BLACK.getBlue(), Color.BLACK.getAlpha());
This does not compile on HTML5, however:
Gdx.gl.glClearColor(0,0,0,1);
Does work. Why is that?