diff options
author | Brian <[email protected]> | 2007-08-09 10:33:18 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-09 14:26:02 -0600 |
commit | 3614a9a8ae2badceca40f626c4a80f386c5d0177 (patch) | |
tree | e2d6ae4dd104e96786645128c2e3c4548f290375 /src/mesa/drivers/dri/intel_winsys/intel_screen.c | |
parent | ba75e41e41f70d8a4ab01399fe2cd0ab15f09b39 (diff) |
checkpoint: intel_renderbuffer removal
Diffstat (limited to 'src/mesa/drivers/dri/intel_winsys/intel_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/intel_winsys/intel_screen.c | 8 |
1 files changed, 8 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 81ab435f42e..fba0c47e598 100644 --- a/src/mesa/drivers/dri/intel_winsys/intel_screen.c +++ b/src/mesa/drivers/dri/intel_winsys/intel_screen.c @@ -46,6 +46,7 @@ #include "dri_bufpool.h" #include "pipe/p_context.h" +#include "state_tracker/st_cb_fbo.h" @@ -308,10 +309,17 @@ intelCreateBuffer(__DRIscreenPrivate * driScrnPriv, } if (mesaVis->doubleBufferMode) { +#if 01 intel_fb->color_rb[1] = intel_new_renderbuffer_fb(rgbFormat); _mesa_add_renderbuffer(&intel_fb->Base, BUFFER_BACK_LEFT, &intel_fb->color_rb[1]->Base); +#else + intel_fb->color_rb[1] + = st_new_renderbuffer_fb(rgbFormat); + _mesa_add_renderbuffer(&intel_fb->Base, BUFFER_BACK_LEFT, + &intel_fb->color_rb[1]->Base); +#endif } if (mesaVis->depthBits == 24 && mesaVis->stencilBits == 8) { |