From 474448d5d394d1424cee2af51dc701cfe0c76fbc Mon Sep 17 00:00:00 2001 From: duysqubix Date: Sun, 8 Oct 2023 19:24:48 -0500 Subject: [PATCH 1/2] updated references --- go.mod | 16 ++++++++++------ go.sum | 16 ++++++++-------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/go.mod b/go.mod index 753a2cb..6310c27 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,16 @@ module github.com/gopxl/glfh -go 1.16 +go 1.21 require ( - github.com/faiface/mainthread v0.0.0-20171120011319-8b78f0a41ae3 // indirect - github.com/go-gl/gl v0.0.0-20210905235341-f7a045908259 - github.com/go-gl/glfw v0.0.0-20210727001814-0db043d8d5be - github.com/go-gl/mathgl v1.0.0 - github.com/gopxl/mainthread v0.0.0-20171120011319-8b78f0a41ae3 + github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 + github.com/go-gl/glfw v0.0.0-20221017161538-93cebf72946b + github.com/go-gl/mathgl v1.1.0 + github.com/gopxl/mainthread v1.0.0 github.com/pkg/errors v0.9.1 ) + +require ( + github.com/faiface/mainthread v0.0.0-20171120011319-8b78f0a41ae3 // indirect + golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f // indirect +) diff --git a/go.sum b/go.sum index fef95bd..19159af 100644 --- a/go.sum +++ b/go.sum @@ -1,13 +1,13 @@ github.com/faiface/mainthread v0.0.0-20171120011319-8b78f0a41ae3 h1:baVdMKlASEHrj19iqjARrPbaRisD7EuZEVJj6ZMLl1Q= github.com/faiface/mainthread v0.0.0-20171120011319-8b78f0a41ae3/go.mod h1:VEPNJUlxl5KdWjDvz6Q1l+rJlxF2i6xqDeGuGAxa87M= -github.com/go-gl/gl v0.0.0-20210905235341-f7a045908259 h1:8q7+xl2D2qHPLTII1t4vSMNP2VKwDcn+Avf2WXvdB1A= -github.com/go-gl/gl v0.0.0-20210905235341-f7a045908259/go.mod h1:wjpnOv6ONl2SuJSxqCPVaPZibGFdSci9HFocT9qtVYM= -github.com/go-gl/glfw v0.0.0-20210727001814-0db043d8d5be h1:UVW91pfMB1GRQfVwC7//RGVbqX6Ea8jURmJhlANak1M= -github.com/go-gl/glfw v0.0.0-20210727001814-0db043d8d5be/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/mathgl v1.0.0 h1:t9DznWJlXxxjeeKLIdovCOVJQk/GzDEL7h/h+Ro2B68= -github.com/go-gl/mathgl v1.0.0/go.mod h1:yhpkQzEiH9yPyxDUGzkmgScbaBVlhC06qodikEM0ZwQ= -github.com/gopxl/mainthread v0.0.0-20171120011319-8b78f0a41ae3 h1:nNL+F+Nn5h0d2Q2+St6U974DJ8lsXqN1x2OmkylhHV0= -github.com/gopxl/mainthread v0.0.0-20171120011319-8b78f0a41ae3/go.mod h1:kdgse3uN3IBQARJKuOORTf3XllmX67ukHQnj5KoOEYk= +github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 h1:zDw5v7qm4yH7N8C8uWd+8Ii9rROdgWxQuGoJ9WDXxfk= +github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6/go.mod h1:9YTyiznxEY1fVinfM7RvRcjRHbw2xLBJ3AAGIT0I4Nw= +github.com/go-gl/glfw v0.0.0-20221017161538-93cebf72946b h1:2hdUMUOJuLQkhaPAwoyOeSzoaBydYEkXkBEuqDuDBfg= +github.com/go-gl/glfw v0.0.0-20221017161538-93cebf72946b/go.mod h1:wyvWpaEu9B/VQiV1jsPs7Mha9I7yto/HqIBw197ZAzk= +github.com/go-gl/mathgl v1.1.0 h1:0lzZ+rntPX3/oGrDzYGdowSLC2ky8Osirvf5uAwfIEA= +github.com/go-gl/mathgl v1.1.0/go.mod h1:yhpkQzEiH9yPyxDUGzkmgScbaBVlhC06qodikEM0ZwQ= +github.com/gopxl/mainthread v1.0.0 h1:Giw7UTkiCo1mB7dkSis8TgLtaCz9+ac4VM4Wq+qHuTw= +github.com/gopxl/mainthread v1.0.0/go.mod h1:kdgse3uN3IBQARJKuOORTf3XllmX67ukHQnj5KoOEYk= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f h1:FO4MZ3N56GnxbqxGKqh+YTzUWQ2sDwtFQEZgLOxh9Jc= From 7bb9c87fb226481a365c5d708b3b281a6b18f072 Mon Sep 17 00:00:00 2001 From: Ben Perry Date: Sun, 8 Oct 2023 19:39:46 -0500 Subject: [PATCH 2/2] Fix typo glfh -> glhf --- README.md | 6 +++--- examples/demo/main.go | 4 ++-- go.mod | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1accde8..bea8a50 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# glhf [![GoDoc](https://godoc.org/github.com/gopxl/glfh?status.svg)](http://godoc.org/github.com/gopxl/glfh) [![Report card](https://goreportcard.com/badge/github.com/gopxl/glfh)](https://goreportcard.com/report/github.com/gopxl/glfh) +# glhf [![GoDoc](https://godoc.org/github.com/gopxl/glhf?status.svg)](http://godoc.org/github.com/gopxl/glhf) [![Report card](https://goreportcard.com/badge/github.com/gopxl/glhf)](https://goreportcard.com/report/github.com/gopxl/glhf) open**GL** **H**ave **F**un - A Go package that makes life with OpenGL enjoyable. ``` -go get github.com/gopxl/glfh +go get github.com/gopxl/glhf ``` ## Main features @@ -27,7 +27,7 @@ request_. ## Code -The following are parts of the demo program, which can be found in the [examples](https://github.com/gopxl/glfh/tree/master/examples/demo). +The following are parts of the demo program, which can be found in the [examples](https://github.com/gopxl/glhf/tree/master/examples/demo). ```go // ... GLFW window creation and stuff ... diff --git a/examples/demo/main.go b/examples/demo/main.go index 3fd0138..472a60a 100644 --- a/examples/demo/main.go +++ b/examples/demo/main.go @@ -6,9 +6,9 @@ import ( _ "image/png" "os" - "github.com/gopxl/glfh" - "github.com/gopxl/mainthread" "github.com/go-gl/glfw/v3.1/glfw" + "github.com/gopxl/glhf" + "github.com/gopxl/mainthread" ) func loadImage(path string) (*image.NRGBA, error) { diff --git a/go.mod b/go.mod index 6310c27..cfca824 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/gopxl/glfh +module github.com/gopxl/glhf go 1.21