main: Fix build

Forgot to commit this :s
This commit is contained in:
Joshua Ashton 2022-09-07 11:05:35 +00:00
parent f0f19b3499
commit 5f610d8614
2 changed files with 2 additions and 2 deletions

View file

@ -383,7 +383,7 @@ int main(int argc, char **argv)
g_preferVendorID = vendorID;
g_preferDeviceID = deviceID;
} else if (strcmp(opt_name, "immediate-flips") == 0) {
g_bAsyncFlipsEnabled = true;
g_nAsyncFlipsEnabled = 1;
}
break;
case '?':

View file

@ -119,4 +119,4 @@ struct wlr_surface *steamcompmgr_get_server_input_surface( size_t idx );
extern uint64_t g_SteamCompMgrVBlankTime;
extern pid_t focusWindow_pid;
extern bool g_bAsyncFlipsEnabled;
extern int g_nAsyncFlipsEnabled;