From: Ian Romanick Date: Mon, 8 Feb 2010 18:33:35 +0000 (-0800) Subject: intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d91f9a024f6e3bc3ae1e71b80e2ec07d60490cf;p=mesa.git intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2 Signed-off-by: Ian Romanick Reviewed-by: Kristian Høgsberg --- 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;