mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
app/internal/window: fix Windows build
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -236,7 +236,7 @@ func createContext(disp _EGLNativeDisplayType) (*eglContext, error) {
|
|||||||
_EGL_NONE,
|
_EGL_NONE,
|
||||||
}
|
}
|
||||||
eglCtx = eglCreateContext(eglDisp, eglCfg, nilEGLContext, ctxAttribs)
|
eglCtx = eglCreateContext(eglDisp, eglCfg, nilEGLContext, ctxAttribs)
|
||||||
if eglCtx == nil {
|
if eglCtx == nilEGLContext {
|
||||||
return nil, fmt.Errorf("eglCreateContext failed: 0x%x", eglGetError())
|
return nil, fmt.Errorf("eglCreateContext failed: 0x%x", eglGetError())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user