Code example for GL10

Methods: glBindTexture, glGenTextures, glGetError, glTexParameterf