Merge pull request #107437 from stuartcarnie/macos_fix_embedded_crash
macOS: Initialize `CVDisplayLinkRef` member field
This commit is contained in:
commit
494cdc37a0
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class GLManagerEmbedded {
|
|||
CGLErrorStringPtr CGLErrorString = nullptr;
|
||||
|
||||
uint32_t display_id = INVALID_DISPLAY_ID;
|
||||
CVDisplayLinkRef display_link;
|
||||
CVDisplayLinkRef display_link = nullptr;
|
||||
bool vsync_enabled = false;
|
||||
bool display_link_running = false;
|
||||
dispatch_semaphore_t display_semaphore = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue