~eliasnaur/gio-example

1b7022cb9df59f269ce095383f6344a75cb2291b — Elias Naur 2 months ago 914fd8d
glfw: support both desktop OpenGL and OpenGL ES on macOS

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 files changed, 4 insertions(+), 4 deletions(-)

M glfw/main.go
M go.mod
M go.sum
M glfw/main.go => glfw/main.go +1 -1
@@ 91,7 91,7 @@ func main() {
	var queue router.Router
	var ops op.Ops
	th := material.NewTheme(gofont.Collection())
	gpu, err := gpu.New(gpu.OpenGL{})
	gpu, err := gpu.New(gpu.OpenGL{ES: !desktopGL})
	if err != nil {
		log.Fatal(err)
	}

M go.mod => go.mod +1 -1
@@ 3,7 3,7 @@ module gioui.org/example
go 1.16

require (
	gioui.org v0.0.0-20210410094005-495c69018772
	gioui.org v0.0.0-20210518185901-8611894b4bb3
	gioui.org/x v0.0.0-20210419013052-6db76265c4e1
	gioui.org/x/haptic v0.0.0-20210120222453-b55819bc712b
	gioui.org/x/notify v0.0.0-20210120222453-b55819bc712b

M go.sum => go.sum +2 -2
@@ 34,8 34,8 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7
dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
gioui.org v0.0.0-20210116085804-99bfa6a33cdf/go.mod h1:Y+uS7hHMvku1Q+ooaoq6fYD5B2LGoT8JtFgvmYmRzTw=
gioui.org v0.0.0-20210402191542-ce7f0da06ee3/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8=
gioui.org v0.0.0-20210410094005-495c69018772 h1:QpGMsubuP4JVlZj5VvvFfRikbLDN0QJj71oX9ABeaqM=
gioui.org v0.0.0-20210410094005-495c69018772/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8=
gioui.org v0.0.0-20210518185901-8611894b4bb3 h1:ycU/gvdMdXLZRCT5j0bxfHu6oW3BXWblaMD6327ZUoc=
gioui.org v0.0.0-20210518185901-8611894b4bb3/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8=
gioui.org/x v0.0.0-20210419013052-6db76265c4e1 h1:NfHFIxNzNY/s7ePtrf9nCKr9f3gYiVS40rAIdbj5Q1k=
gioui.org/x v0.0.0-20210419013052-6db76265c4e1/go.mod h1:qsAS5EBzGhn3sJ98FJdA+ae+E5/DgmxjySERjjR1Zvg=
gioui.org/x/haptic v0.0.0-20210120222453-b55819bc712b h1:3lHNKrTHXJCXhtmCVdTInlNuay3jSQ0SVi9JNQTj5yM=