From: Brian Date: Fri, 2 Nov 2007 17:27:39 +0000 (-0600) Subject: comment about renderbuffers vs. surfaces X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=381b68d80413dba7e88f03057f720c0fe2b0ac2e;p=mesa.git comment about renderbuffers vs. surfaces --- diff --git a/src/mesa/drivers/dri/intel_winsys/intel_screen.c b/src/mesa/drivers/dri/intel_winsys/intel_screen.c index e6bd87a4ea6..be317749042 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