layers: Add DrawState check to verify Idx buffer bound before an Indexed Draw
authorTobin Ehlis <tobin@lunarg.com>
Fri, 19 Jun 2015 21:07:05 +0000 (15:07 -0600)
committerTobin Ehlis <tobin@lunarg.com>
Mon, 22 Jun 2015 21:42:18 +0000 (15:42 -0600)
commit213b3512be3b3f32cc560b2e6b7dd8e543a4450a
tree1c13456216a94d3047405246edfa33d418eb2e89
parent6ae7674a0415ea7b9e8a18098a94eaa6f7e74b60
layers: Add DrawState check to verify Idx buffer bound before an Indexed Draw

Also some minor formatting clean-up to reduce lines of code
layers/draw_state.cpp
layers/draw_state.h