Reputation: 69
How do I set the background color to white in LIBGDX using just Gdx.gl.glClearColor(x,x,x,x);??? if not then is it possible to draw a white batch as background but still render other actors on top of it?
Gdx.gl.glClearColor(x,x,x,x);
Upvotes: 1
Views: 706
Reputation: 420
Just use
Gdx.gl.glClearColor(1f, 1f, 1f, 1f);
Upvotes: 2