fixing color table with raw opengl renderer.