begin fixing ogl renderer