Fixed a copy-paste error in OpenGL class