Please move this into the LwjglRenderer.