i915g: Fix initial array index
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 6 Sep 2013 17:45:27 +0000 (10:45 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Fri, 6 Sep 2013 18:05:24 +0000 (11:05 -0700)
commit7125af295751c504063644f61f19c0d70a6b1b3e
tree96db74816aaec2d71b1299e56f62465f2cceee23
parentac8448dd9779478b570ef15f7232cfcf22f2d3db
i915g: Fix initial array index

Fixes "Out-of-bounds read" defect reported by Coverity.
src/gallium/drivers/i915/i915_state_emit.c