working fix for issue #9 renderer assert
Merge pull request #11 from holstgr-kaust/master

working fix for issue #9 renderer assert