add glClear* code in Window.render()
Porting code from freetype-gl for opengl 2.0