fixed opengl rendering bug
Merge pull request #1 from krux02/master

fixed opengl rendering bug