summaryrefslogtreecommitdiff
path: root/glamor/glamor_render.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-03-13 10:09:08 -0700
committerEric Anholt <eric@anholt.net>2014-03-17 14:30:52 -0700
commitc36b903f240664f7222cfefc480e60fca936de6a (patch)
tree30325003eaeb0fc5bf1d40f7512725792585cff7 /glamor/glamor_render.c
parentf7cd1189d068471373f51d932c558f8151182d58 (diff)
glamor: Drop stale comment.
The old Xephyr codebase was using the GL window system framebuffer for the screen pixmap, but that meant you couldn't texture from it to do operations sourcing from the screen, so in the version that landed I instead had the screen just be a plain texture. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor/glamor_render.c')
-rw-r--r--glamor/glamor_render.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c
index 8569ae2fe..f93aac1ef 100644
--- a/glamor/glamor_render.c
+++ b/glamor/glamor_render.c
@@ -962,10 +962,6 @@ glamor_composite_choose_shader(CARD8 op,
glamor_fallback("source == dest\n");
}
if (source_pixmap_priv->base.gl_fbo == GLAMOR_FBO_UNATTACHED) {
- /* XXX in Xephyr, we may have gl_fbo equal to 1 but gl_tex
- * equal to zero when the pixmap is screen pixmap. Then we may
- * refer the tex zero directly latter in the composition.
- * It seems that it works fine, but it may have potential problem*/
#ifdef GLAMOR_PIXMAP_DYNAMIC_UPLOAD
source_status = GLAMOR_UPLOAD_PENDING;
#else