Remove the unused extra gl param to waitForCompositor
Fix comments
Merge pull request #717 from zhenyao/wait

Remove the unused extra gl param to waitForCompositor