From 6d91f9a024f6e3bc3ae1e71b80e2ec07d60490cf Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 8 Feb 2010 10:33:35 -0800 Subject: [PATCH] intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Ian Romanick Reviewed-by: Kristian Høgsberg --- src/mesa/drivers/dri/intel/intel_screen.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index 1acd7a576eb..bda94e0df35 100644 --- a/src/mesa/drivers/dri/intel/intel_screen.c +++ b/src/mesa/drivers/dri/intel/intel_screen.c @@ -374,15 +374,6 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp) intelScreen->irq_active = 1; psp->extensions = intelScreenExtensions; - depth_bits[0] = 0; - stencil_bits[0] = 0; - depth_bits[1] = 16; - stencil_bits[1] = 0; - depth_bits[2] = 24; - stencil_bits[2] = 0; - depth_bits[3] = 24; - stencil_bits[3] = 8; - msaa_samples_array[0] = 0; fb_format[0] = GL_RGB; -- 2.30.2