Change the color of clearing

This commit is contained in:
Hajime Hoshi 2013-06-24 22:03:38 +09:00
parent dfc07f9a44
commit cf53d6a6d0

View File

@ -49,7 +49,7 @@ func newGraphicsContext(screenWidth, screenHeight, screenScale int) *GraphicsCon
}
func (context *GraphicsContext) Clear() {
C.glClearColor(0, 0, 0, 1)
C.glClearColor(0, 0, 0, 0)
C.glClear(C.GL_COLOR_BUFFER_BIT)
}