VirtualBox

Changeset 97380 in vbox


Ignore:
Timestamp:
Nov 3, 2022 10:57:23 AM (2 years ago)
Author:
vboxsync
Message:

Devices/Graphics: Fix crash on Catalina if the old 3D code is enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-cocoa.m

    r96407 r97380  
    378378    {
    379379        Log(("OvlView(%p) vboxUpdateCtxIfNecessary: m_fUpdateCtx\n", (void *)self));
    380         [[self openGLContext] update];
     380        /* This must be done on the main thread or it will crash with an error. */
     381        [[self openGLContext] performSelectorOnMainThread:@selector(update) withObject:nil waitUntilDone:YES];
    381382        m_fUpdateCtx = false;
    382383    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette