dmitri.shuralyov.com/gpu/mtl/example/movingtriangle

update to GLFW v3.3

It has been released recently. Start using it.

Updates https://github.com/go-gl/glfw/pull/256
dmitshur committed 5 years ago commit fec1b7b612ab0b81aa1d8b5c9a58c795f94fd767
Showing partial commit. Full Commit
Collapse all
example/movingtriangle/main.go
@@ -14,11 +14,11 @@ import (
	"unsafe"

	"dmitri.shuralyov.com/gpu/mtl"
	"dmitri.shuralyov.com/gpu/mtl/example/movingtriangle/internal/ca"
	"dmitri.shuralyov.com/gpu/mtl/example/movingtriangle/internal/ns"
	"github.com/go-gl/glfw/v3.2/glfw"
	"github.com/go-gl/glfw/v3.3/glfw"
	"golang.org/x/image/math/f32"
)

func init() {
	runtime.LockOSThread()