refactoring OpenGL enums with QOpenGLTexture enums