blob: 110f14af7a6f61a1b4c0da9c28a9c3c3d5666ee9 [file] [log] [blame]
// +build 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()
}