[client] app: fix reversed ds init logic

This commit is contained in:
Geoffrey McRae 2021-01-27 19:40:05 +11:00
parent 7d2c9ec447
commit cc521eab90

View File

@ -735,7 +735,7 @@ static int lg_run(void)
};
g_state.dsInitialized = g_state.ds->init(params);
if (g_state.dsInitialized)
if (!g_state.dsInitialized)
{
DEBUG_ERROR("Failed to initialize the displayserver backend");
return -1;