From: Brendan Shanks <bshanks(a)codeweavers.com> --- dlls/winemac.drv/cocoa_window.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winemac.drv/cocoa_window.m b/dlls/winemac.drv/cocoa_window.m index 1a73deedc2c..f4a6dce89b6 100644 --- a/dlls/winemac.drv/cocoa_window.m +++ b/dlls/winemac.drv/cocoa_window.m @@ -564,7 +564,7 @@ - (void) viewWillDraw clearedGlSurface = TRUE; } context.needsUpdate = TRUE; - macdrv_update_opengl_context(context); + macdrv_update_opengl_context((macdrv_opengl_context)context); } [glContexts addObjectsFromArray:pendingGlContexts]; [pendingGlContexts removeAllObjects]; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/5922