summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2010-12-08 11:30:42 +0100
committerYoann Lopes <yoann.lopes@nokia.com>2010-12-08 11:30:42 +0100
commit3ebaf02059c653c7b0e67ffef95999473126e5c4 (patch)
treeffe1c3e03cf8fb8b7c7b28ad2cff516f8908ee8c
parent39d7613a229600e74604e429fa5c607930f6790c (diff)
Compile fix.
-rw-r--r--src/effects/shadereffectitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/shadereffectitem.cpp b/src/effects/shadereffectitem.cpp
index ed8ff93..434b0ad 100644
--- a/src/effects/shadereffectitem.cpp
+++ b/src/effects/shadereffectitem.cpp
@@ -526,7 +526,7 @@ void ShaderEffectSource::updateSizeAndTexture()
if (m_mipmap) {
glBindTexture(GL_TEXTURE_2D, m_texture->textureId());
- glGenerateMipmap(GL_TEXTURE_2D);
+ m_renderer->glGenerateMipmap(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2D, 0);
}