diff --git a/go.mod b/go.mod index c445d14e86..3984747940 100644 --- a/go.mod +++ b/go.mod @@ -13,14 +13,14 @@ require ( github.com/bramvdbogaerde/go-scp v1.6.0 github.com/chewxy/math32 v1.11.1 github.com/cogentcore/reisen v0.0.0-20240814194831-4d884b6e7666 - github.com/cogentcore/webgpu v0.23.0 + github.com/cogentcore/webgpu v0.23.1-0.20260410073005-a2ae7d757168 github.com/cogentcore/yaegi v0.0.0-20260116172027-700fbf8949f3 github.com/coreos/go-oidc/v3 v3.17.0 github.com/ericchiang/css v1.4.0 github.com/faiface/beep v1.1.0 github.com/fsnotify/fsnotify v1.9.0 github.com/go-fonts/latin-modern v0.3.3 - github.com/go-gl/glfw/v3.3/glfw v0.0.0-20250301202403-da16c1255728 + github.com/go-gl/glfw/v3.4/glfw v0.1.0-pre.1 github.com/go-text/typesetting v0.3.1-0.20250707124828-58cd3ef91251 github.com/gomarkdown/markdown v0.0.0-20250810172220-2e2c11897d1a github.com/gorilla/websocket v1.5.3 diff --git a/go.sum b/go.sum index bc6fcddb7f..bf62093412 100644 --- a/go.sum +++ b/go.sum @@ -29,8 +29,8 @@ github.com/chewxy/math32 v1.11.1 h1:b7PGHlp8KjylDoU8RrcEsRuGZhJuz8haxnKfuMMRqy8= github.com/chewxy/math32 v1.11.1/go.mod h1:dOB2rcuFrCn6UHrze36WSLVPKtzPMRAQvBvUwkSsLqs= github.com/cogentcore/reisen v0.0.0-20240814194831-4d884b6e7666 h1:gmXMw/Xcva/2V5qRO920q4am1odNE0xFEGBzG7y7cus= github.com/cogentcore/reisen v0.0.0-20240814194831-4d884b6e7666/go.mod h1:HoDh/nWYrLffGjfVxUmbJHb0yZvcV3TwrN73WurddNs= -github.com/cogentcore/webgpu v0.23.0 h1:hrjnnuDZAPSRsqBjQAsJOyg2COGztIkBbxL87r0Q9KE= -github.com/cogentcore/webgpu v0.23.0/go.mod h1:ciqaxChrmRRMU1SnI5OE12Cn3QWvOKO+e5nSy+N9S1o= +github.com/cogentcore/webgpu v0.23.1-0.20260410073005-a2ae7d757168 h1:K5en4IrBrolIAWvjrLuXRb9CvU1w+WMMi0Eu0KmcMfQ= +github.com/cogentcore/webgpu v0.23.1-0.20260410073005-a2ae7d757168/go.mod h1:DQLhF8pM/WkdaGpX6pKmZJPYsoR9x+hohhA1nnNuCa8= github.com/cogentcore/yaegi v0.0.0-20260116172027-700fbf8949f3 h1:y3Djpt/g3QTjFdj8cpvy/r8FsZsEa7PqHGjgsKXbta0= github.com/cogentcore/yaegi v0.0.0-20260116172027-700fbf8949f3/go.mod h1:XkOm++pRmWlk85p+hw71ZItfTeRdzqG23+2xjP9eb+M= github.com/coreos/go-oidc/v3 v3.17.0 h1:hWBGaQfbi0iVviX4ibC7bk8OKT5qNr4klBaCHVNvehc= @@ -56,8 +56,8 @@ github.com/go-audio/riff v1.0.0/go.mod h1:l3cQwc85y79NQFCRB7TiPoNiaijp6q8Z0Uv38r github.com/go-audio/wav v1.0.0/go.mod h1:3yoReyQOsiARkvPl3ERCi8JFjihzG6WhjYpZCf5zAWE= github.com/go-fonts/latin-modern v0.3.3 h1:g2xNgI8yzdNzIVm+qvbMryB6yGPe0pSMss8QT3QwlJ0= github.com/go-fonts/latin-modern v0.3.3/go.mod h1:tHaiWDGze4EPB0Go4cLT5M3QzRY3peya09Z/8KSCrpY= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20250301202403-da16c1255728 h1:RkGhqHxEVAvPM0/R+8g7XRwQnHatO0KAuVcwHo8q9W8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20250301202403-da16c1255728/go.mod h1:SyRD8YfuKk+ZXlDqYiqe1qMSqjNgtHzBTG810KUagMc= +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/go-jose/go-jose/v4 v4.1.3 h1:CVLmWDhDVRa6Mi/IgCgaopNosCaHz7zrMeF9MlZRkrs= github.com/go-jose/go-jose/v4 v4.1.3/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= github.com/go-text/typesetting v0.3.1-0.20250707124828-58cd3ef91251 h1:QRcFLinlR2DKeVdwo/hwyz9S5HSzUiXnV0pzX/dhKOg= diff --git a/gpu/glfw.go b/gpu/glfw.go index b68afeb5b6..0973b4c908 100644 --- a/gpu/glfw.go +++ b/gpu/glfw.go @@ -13,7 +13,7 @@ import ( "cogentcore.org/core/system" "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" ) // note: this file contains the glfw dependencies, for desktop platform builds diff --git a/system/driver/desktop/app.go b/system/driver/desktop/app.go index aed71b8529..3a179ac048 100644 --- a/system/driver/desktop/app.go +++ b/system/driver/desktop/app.go @@ -20,7 +20,7 @@ import ( "cogentcore.org/core/system/composer" "cogentcore.org/core/system/driver/base" "github.com/cogentcore/webgpu/wgpuglfw" - "github.com/go-gl/glfw/v3.3/glfw" + "github.com/go-gl/glfw/v3.4/glfw" ) func Init() { diff --git a/system/driver/desktop/cursor.go b/system/driver/desktop/cursor.go index 3272c928d7..51e4dd8338 100644 --- a/system/driver/desktop/cursor.go +++ b/system/driver/desktop/cursor.go @@ -12,7 +12,7 @@ import ( "cogentcore.org/core/math32" "cogentcore.org/core/styles/units" "cogentcore.org/core/system" - "github.com/go-gl/glfw/v3.3/glfw" + "github.com/go-gl/glfw/v3.4/glfw" ) // TheCursor is the single [system.Cursor] for the desktop platform diff --git a/system/driver/desktop/desktop_linux.go b/system/driver/desktop/desktop_linux.go index 51c50cc858..8e59e6f2ea 100644 --- a/system/driver/desktop/desktop_linux.go +++ b/system/driver/desktop/desktop_linux.go @@ -15,7 +15,7 @@ import ( "cogentcore.org/core/base/errors" "cogentcore.org/core/base/fileinfo/mimedata" "cogentcore.org/core/system" - "github.com/go-gl/glfw/v3.3/glfw" + "github.com/go-gl/glfw/v3.4/glfw" ) // Notes on intermixing glfw and xgb: bottom line, can't do: diff --git a/system/driver/desktop/desktop_windows.go b/system/driver/desktop/desktop_windows.go index 9d53c8fa6b..3c84cebcb3 100644 --- a/system/driver/desktop/desktop_windows.go +++ b/system/driver/desktop/desktop_windows.go @@ -14,7 +14,7 @@ import ( "cogentcore.org/core/base/errors" "cogentcore.org/core/base/fileinfo/mimedata" "cogentcore.org/core/system" - "github.com/go-gl/glfw/v3.3/glfw" + "github.com/go-gl/glfw/v3.4/glfw" ) ///////////////////////////////////////////////////////////////// diff --git a/system/driver/desktop/event.go b/system/driver/desktop/event.go index 04234d17e1..5e5682d714 100644 --- a/system/driver/desktop/event.go +++ b/system/driver/desktop/event.go @@ -12,7 +12,7 @@ import ( "cogentcore.org/core/events/key" "cogentcore.org/core/math32" "cogentcore.org/core/system" - "github.com/go-gl/glfw/v3.3/glfw" + "github.com/go-gl/glfw/v3.4/glfw" ) func GlfwMods(mod glfw.ModifierKey) key.Modifiers { diff --git a/system/driver/desktop/screen.go b/system/driver/desktop/screen.go index 63445a1300..56918053ef 100644 --- a/system/driver/desktop/screen.go +++ b/system/driver/desktop/screen.go @@ -14,7 +14,7 @@ import ( "cogentcore.org/core/events" "cogentcore.org/core/math32" "cogentcore.org/core/system" - "github.com/go-gl/glfw/v3.3/glfw" + "github.com/go-gl/glfw/v3.4/glfw" ) var ( diff --git a/system/driver/desktop/window.go b/system/driver/desktop/window.go index b80a31a9be..68939d7017 100644 --- a/system/driver/desktop/window.go +++ b/system/driver/desktop/window.go @@ -20,7 +20,7 @@ import ( "cogentcore.org/core/system" "cogentcore.org/core/system/composer" "cogentcore.org/core/system/driver/base" - "github.com/go-gl/glfw/v3.3/glfw" + "github.com/go-gl/glfw/v3.4/glfw" ) // Window is the implementation of [system.Window] for the desktop platform.