diff --git a/driver/native.go b/driver/native.go index 74519c4974..31b575d135 100644 --- a/driver/native.go +++ b/driver/native.go @@ -68,7 +68,4 @@ type X11WindowContext struct { type WaylandWindowContext struct { // WaylandSurface is the handle to the native Wayland surface. WaylandSurface uintptr - - // EGLSurface is the handle to the native EGL surface. - EGLSurface uintptr } diff --git a/internal/driver/glfw/window_wayland.go b/internal/driver/glfw/window_wayland.go index e2edb8c1e5..68a1f115b3 100644 --- a/internal/driver/glfw/window_wayland.go +++ b/internal/driver/glfw/window_wayland.go @@ -21,11 +21,9 @@ func (w *window) RunNative(f func(any)) { var waylandSurface, eglSurface uintptr if v := w.view(); v != nil { waylandSurface = uintptr(unsafe.Pointer(v.GetWaylandWindow())) - eglSurface = uintptr(unsafe.Pointer(v.GetEGLSurface())) } f(driver.WaylandWindowContext{ WaylandSurface: waylandSurface, - EGLSurface: eglSurface, }) }) }