summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-02 11:27:39 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-11-05 08:04:47 -0700
commit381b68d80413dba7e88f03057f720c0fe2b0ac2e (patch)
treef229fcd9d2a3888443595d9bfd3a7ffd45b17192 /src
parent00a133ad19a64e15c78314157a1a7102529441b3 (diff)
comment about renderbuffers vs. surfaces
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_screen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_screen.c b/src/mesa/drivers/dri/intel_winsys/intel_screen.c
index e6bd87a4ea..be31774904 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_screen.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_screen.c
@@ -295,6 +295,11 @@ intelCreateBuffer(__DRIscreenPrivate * driScrnPriv,
_mesa_initialize_framebuffer(&intel_fb->Base, mesaVis);
+ /*
+ * XXX Create pipe_surfaces for front/back buffers,
+ * hand them to state tracker to create a framebuffer object.
+ */
+
{
/* fake frontbuffer */
/* XXX allocation should only happen in the unusual case