fix agl
fix glsl140 workaround
Revert "remove flag GL_SYNC_FLUSH_COMMANDS_BIT on syncing"

This reverts commit 025f8d342fe5f828004026b97b90b4b71469c331.
OSX may wait forever, so fix osx freeze
initialize bSupportsDualSourceBlend only in renderer