summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-02-08 10:33:35 -0800
committerIan Romanick <[email protected]>2010-02-10 10:50:28 -0800
commit6d91f9a024f6e3bc3ae1e71b80e2ec07d60490cf (patch)
treeb7ffde8d76a71066ead3a217be3eaaea0e0ed9c0 /src/mesa/drivers
parent066f45c7a1888ca8a9de78a81b38af7c74bca9e1 (diff)
intel: Remove redundant init of depth_bits / stencil_bits in intelInitScreen2
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel/intel_screen.c9
1 files changed, 0 insertions, 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;