intel: Drop doubly irrelevant code in intelReadBuffers.
authorEric Anholt <eric@anholt.net>
Wed, 25 May 2011 20:56:04 +0000 (13:56 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 May 2011 15:54:29 +0000 (08:54 -0700)
commitc095335fa54498ec54e4587b5f84ad6afd8f1857
tree36347c108bd928a69732a051bed7a6ac38fb4502
parent6d4b974e89ca8c803e2a0033005ad95eab537fe6
intel: Drop doubly irrelevant code in intelReadBuffers.

First, FBO read/draw == NULL validation happens in mesa core not
intelReadBuffers -> intel_draw_buffers.  Second, that condition is no
longer tested for in our driver since ARB_ES2_compatibility was added.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/intel/intel_buffers.c