654b27823d
For programs linked against the macOS 10.14 SDK, Mojave makes all view hierarchies layer-backed. For views to which OpenGL contexts have been attached this caused a regression where they sometimes failed to render and just remain black. Updating the OpenGL context after the framework has assigned a layer to our view works around the problem. Thanks to Elviss Strazdins on Stack Overflow for the solution <https://stackoverflow.com/a/52938517/1312143>. Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> |
||
---|---|---|
.. | ||
.gitattributes | ||
Makefile.in | ||
clipboard.c | ||
cocoa_app.h | ||
cocoa_app.m | ||
cocoa_clipboard.m | ||
cocoa_display.m | ||
cocoa_event.h | ||
cocoa_event.m | ||
cocoa_main.m | ||
cocoa_opengl.h | ||
cocoa_opengl.m | ||
cocoa_status_item.m | ||
cocoa_window.h | ||
cocoa_window.m | ||
display.c | ||
dragdrop.c | ||
event.c | ||
gdi.c | ||
image.c | ||
ime.c | ||
keyboard.c | ||
macdrv.h | ||
macdrv_cocoa.h | ||
macdrv_main.c | ||
macdrv_res.h | ||
mouse.c | ||
opengl.c | ||
surface.c | ||
systray.c | ||
vulkan.c | ||
window.c | ||
winemac.drv.spec | ||
winemac.rc |