intel: Remove dead code in intelAllocateBuffer
authorChad Versace <chad.versace@linux.intel.com>
Mon, 9 Jul 2012 22:51:06 +0000 (15:51 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Wed, 1 Aug 2012 17:33:36 +0000 (10:33 -0700)
commit83fa0842ca0772e9a3493bd7a66f69c458a1739b
treef8fc90abab282e90f3d8f7e83359cc176ed04169
parent84ead7b4e861c14ee24b96f8892230744640f0df
intel: Remove dead code in intelAllocateBuffer

After commit "intel: Convert to using private depth/stencil buffers", we
request from DRI2GetBuffersWithFormat only the front left and back left
buffers. We no longer request depth and stencil buffers.

Assert that in intelAllocateBuffer and remove the related dead code.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_screen.c