Add a QOpenGLTexture pointer member as well, which will contain the texture, initialize it to 0 in the constructor, and delete it in the destructor.
確定! 回上一頁