Exemplo n.º 1
0
Arquivo: draw.go Projeto: james4k/exp
func draw(wnd *glfwui.Window, body ui.View) {
	w, h, ratio := wnd.Size()
	bnd.BeginFrame(w, h, ratio)
	bnd.Background(0, 0, w, h)
	drawView(body)
	bnd.EndFrame()
}