aboutsummaryrefslogtreecommitdiffstats
path: root/examples/opengl/textures/textures.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/textures/textures.py')
-rwxr-xr-xexamples/opengl/textures/textures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/textures/textures.py b/examples/opengl/textures/textures.py
index 29ae19a..002995b 100755
--- a/examples/opengl/textures/textures.py
+++ b/examples/opengl/textures/textures.py
@@ -137,7 +137,7 @@ class GLWidget(QtOpenGL.QGLWidget):
glNewList(dlist, GL_COMPILE)
for i in range(6):
- self.bindTexture(QtGui.QPixmap(QtCore.QString(":/images/side%1.png").arg(i + 1)))
+ self.bindTexture(QtGui.QPixmap(":/images/side%d.png" % (i + 1)))
glBegin(GL_QUADS)
for j in range(4):