Fix #9: assert in renderer

Conflicts:
	GLStats/renderer.cpp