Small fix in OGL framework