fixed the problem
This commit is contained in:
@@ -622,7 +622,7 @@ void MshFile::readUV(Segment * dataDestination, std::streampos position)
|
||||
m_file.read(F2V(dataDestination->vertices[i].texCoord[j]), sizeof(float));
|
||||
}
|
||||
|
||||
void MshFile::loadTexture(QOpenGLTexture * destination, QString filepath)
|
||||
void MshFile::loadTexture(QOpenGLTexture *& destination, QString filepath)
|
||||
{
|
||||
bool loadSuccess(false);
|
||||
QImage img;
|
||||
|
Reference in New Issue
Block a user