Wrote in the wrong params for glClearColor. They are now correct (the value for colors is 0.1 not 0-255).