8 Mar
2024
8 Mar
'24
6:22 p.m.
Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/opengl.c:
goto out; }
+ if (!wgl_context_populate_attribs(ctx, attribs)) + { + ctx->attribs[0] = EGL_NONE; + goto out; + } + + /* For now only OpenGL is supported. */ + p_eglBindAPI(EGL_OPENGL_API);
Ah yeah I forgot about that before but isn't something that's supposed to be called on every thread that is going to issue GL calls? Shouldn't we do that in wglMakeCurrent? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5264#note_64028