mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
app/internal/window: fix typo
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -58,7 +58,7 @@ func (w *window) EGLWindow(visID int) (egl.NativeWindowType, int, int, error) {
|
|||||||
}
|
}
|
||||||
eglWin = C.wl_egl_window_create(surf, C.int(width), C.int(height))
|
eglWin = C.wl_egl_window_create(surf, C.int(width), C.int(height))
|
||||||
if eglWin == nil {
|
if eglWin == nil {
|
||||||
return 0, 0, 0, errors.New("wayland: wl_egl_create_window failed")
|
return 0, 0, 0, errors.New("wayland: wl_egl_window_create failed")
|
||||||
}
|
}
|
||||||
eglWindows.windows[surf] = eglWin
|
eglWindows.windows[surf] = eglWin
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user