summaryrefslogtreecommitdiffstats
path: root/examples/opengl/pbuffers2/glwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/pbuffers2/glwidget.cpp')
-rw-r--r--examples/opengl/pbuffers2/glwidget.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/opengl/pbuffers2/glwidget.cpp b/examples/opengl/pbuffers2/glwidget.cpp
index 1fcfdcb533..d8dbe9854c 100644
--- a/examples/opengl/pbuffers2/glwidget.cpp
+++ b/examples/opengl/pbuffers2/glwidget.cpp
@@ -144,8 +144,6 @@ void GLWidget::draw()
pbuffer_painter.end();
glFlush();
- // rendering directly to a texture is not supported on X11 and
- // some Windows implementations, unfortunately
if (!hasDynamicTextureUpdate)
pbuffer->updateDynamicTexture(dynamicTexture);