From 3bd6e3d532d5c4e0d1c7ef17b13d9784589771c4 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 11 Jan 2005 17:12:48 +0000 Subject: Disable bogus pbuffer code (though this could be revived with a little attention). Correctly advertise FBConfigs with GL_BGRA rather than GL_BGR. --- src/mesa/drivers/dri/unichrome/via_context.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/drivers/dri/unichrome/via_context.c') diff --git a/src/mesa/drivers/dri/unichrome/via_context.c b/src/mesa/drivers/dri/unichrome/via_context.c index 11f9940998..b55600f6f1 100644 --- a/src/mesa/drivers/dri/unichrome/via_context.c +++ b/src/mesa/drivers/dri/unichrome/via_context.c @@ -469,6 +469,12 @@ viaCreateContext(const __GLcontextModes *mesaVis, vmesa->renderIndex = ~0; vmesa->setupIndex = ~0; + /* KW: Hardwire this. Was previously set bogusly in + * viaCreateBuffer. Needs work before PBUFFER can be used: + */ + vmesa->drawType = GLX_WINDOW_BIT; + + make_empty_list(&vmesa->TexObjList); make_empty_list(&vmesa->SwappedOut); -- cgit v1.2.3