fix the minor verson of opengl
Merge pull request #15 from csherratt/opengl-fix

fix the minor verson of opengl