Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/boids/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/cogentcore/webgpu/wgpu"
"github.com/cogentcore/webgpu/wgpuglfw"
"github.com/go-gl/glfw/v3.3/glfw"
"github.com/go-gl/glfw/v3.4/glfw"

_ "embed"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/cube/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/cogentcore/webgpu/examples/internal/glm"
"github.com/cogentcore/webgpu/wgpu"
"github.com/cogentcore/webgpu/wgpuglfw"
"github.com/go-gl/glfw/v3.3/glfw"
"github.com/go-gl/glfw/v3.4/glfw"

_ "embed"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/triangle/glfw.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"

"github.com/cogentcore/webgpu/wgpuglfw"
"github.com/go-gl/glfw/v3.3/glfw"
"github.com/go-gl/glfw/v3.4/glfw"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/cogentcore/webgpu
go 1.22

require (
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a
github.com/go-gl/glfw/v3.4/glfw v0.1.0-pre.1
github.com/iancoleman/strcase v0.3.0
modernc.org/cc/v3 v3.41.0
mvdan.cc/gofumpt v0.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkp
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a h1:vxnBhFDDT+xzxf1jTJKMKZw3H0swfWk9RpWbBbDK5+0=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.4/glfw v0.1.0-pre.1 h1:nIVzcwqIaO1mK8LFr0fGkKpgQD4wJDDHRyv4t5k40Ps=
github.com/go-gl/glfw/v3.4/glfw v0.1.0-pre.1/go.mod h1:T5Dn0JwIJOX1euPZ/iT4tq6nFYtmukjcYa7937HuYK8=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI=
Expand Down
2 changes: 1 addition & 1 deletion wgpuglfw/surface_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"unsafe"

"github.com/cogentcore/webgpu/wgpu"
"github.com/go-gl/glfw/v3.3/glfw"
"github.com/go-gl/glfw/v3.4/glfw"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion wgpuglfw/surface_wayland_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"unsafe"

"github.com/cogentcore/webgpu/wgpu"
"github.com/go-gl/glfw/v3.3/glfw"
"github.com/go-gl/glfw/v3.4/glfw"
)

func GetSurfaceDescriptor(w *glfw.Window) *wgpu.SurfaceDescriptor {
Expand Down
2 changes: 1 addition & 1 deletion wgpuglfw/surface_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"unsafe"

"github.com/cogentcore/webgpu/wgpu"
"github.com/go-gl/glfw/v3.3/glfw"
"github.com/go-gl/glfw/v3.4/glfw"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion wgpuglfw/surface_x11_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"unsafe"

"github.com/cogentcore/webgpu/wgpu"
"github.com/go-gl/glfw/v3.3/glfw"
"github.com/go-gl/glfw/v3.4/glfw"
)

func GetSurfaceDescriptor(w *glfw.Window) *wgpu.SurfaceDescriptor {
Expand Down
Loading