blob: b00a0cf35bfdd834706a1e600a9e921a57226eff [file] [log] [blame]
// +build ignore,OMIT
package main
import (
"golang.org/x/mobile/app"
"golang.org/x/mobile/app/debug"
"golang.org/x/mobile/gl"
)
func main() {
app.Run(app.Callbacks{
Draw: draw,
})
}
func draw() {
gl.ClearColor(1, 0, 0, 1) // RGBA value used to clear buffer: red
gl.Clear(gl.COLOR_BUFFER_BIT)
debug.DrawFPS()
}