intel: Add a safety check for mapping 1D texture arrays.
authorEric Anholt <eric@anholt.net>
Thu, 29 Sep 2011 21:54:23 +0000 (14:54 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 3 Oct 2011 20:29:38 +0000 (13:29 -0700)
commit82691574b6fc5a66290cbab88010caa8bc00c1dd
treef069068d5660c3f79571f2d9eb266fff1782c453
parentcb86560ddb0a09727f55010bc184354d506f6484
intel: Add a safety check for mapping 1D texture arrays.

So easy to screw up with the crazy way GL manages them.
src/mesa/drivers/dri/intel/intel_tex.c