Adds getTexParameter to OpenGL bindings