small fix for ogl