summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/xlib/xm_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/xlib/xm_api.c')
-rw-r--r--src/mesa/pipe/xlib/xm_api.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/xlib/xm_api.c b/src/mesa/pipe/xlib/xm_api.c
index a05ff358c0..a4874d3f8f 100644
--- a/src/mesa/pipe/xlib/xm_api.c
+++ b/src/mesa/pipe/xlib/xm_api.c
@@ -317,6 +317,10 @@ create_xmesa_buffer(XMesaDrawable d, BufferType type,
b->mesa_buffer.Delete = xmesa_delete_framebuffer;
/*
+ * XXX we want to create surfaces for pipe, not renderbuffers for Mesa.
+ */
+
+ /*
* Front renderbuffer
*/
b->frontxrb = xmesa_create_renderbuffer(NULL, 0, &vis->mesa_visual, GL_FALSE);