Update triangle example to clear every frame

  - Solves flickering under Windows due to clear only being called once
  - Consistent with other examples
Merge pull request #356 from AnthIste/examples

Update triangle example to clear every frame