Not really, this will work:

    glstate.SetVSyncInterval(g_Config.bVsync ? -1 : 0);

and similar in the non-tear case just for clarity: 

    glstate.SetVSyncInterval(g_Config.bVsync ? 1 : 0);