Removed another Qt4.6 dependency from cmodview.

sensor-dev
Chris Laurel 2010-03-10 01:46:49 +00:00
parent a452539e60
commit 7db69edf74
1 changed files with 3 additions and 2 deletions

View File

@ -66,8 +66,9 @@ public:
else
{
QPixmap texturePixmap(fileName);
return m_glWidget->bindTexture(texturePixmap, GL_TEXTURE_2D, GL_RGBA,
QGLContext::LinearFilteringBindOption | QGLContext::MipmapBindOption);
// Mipmaps and linear filtering enabled by default.
return m_glWidget->bindTexture(texturePixmap, GL_TEXTURE_2D, GL_RGBA);
}
}