Make sure to call steam_poll. (#15050)

This commit is contained in:
warmenhoven 2023-03-02 19:53:16 -05:00 committed by GitHub
parent 2125770236
commit f5a2d1598a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,10 @@
#include "ui_cocoa.h"
#ifdef HAVE_MIST
#include "steam/steam.h"
#endif
typedef struct ui_application_cocoa
{
void *empty;
@ -792,6 +796,10 @@ static ui_application_t ui_application_cocoa = {
task_queue_check();
#ifdef HAVE_MIST
steam_poll();
#endif
while (CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0.002, FALSE)
== kCFRunLoopRunHandledSource);
if (ret == -1)