layers: Remove mid() & mdd() functions from DrawState
authorTobin Ehlis <tobin@lunarg.com>
Tue, 20 Oct 2015 23:06:16 +0000 (17:06 -0600)
committerTobin Ehlis <tobin@lunarg.com>
Thu, 22 Oct 2015 17:12:27 +0000 (11:12 -0600)
commit7b997b661ff04b30af2f3299100a45daa2515efe
tree3f01b4b0d6b4a90105afb454b10971eb948b3d78
parent642014905da847d63e6f6e1ce9df11982d68f16b
layers: Remove mid() & mdd() functions from DrawState

Just use the report_data directly off the already looked-up map entry for the given device/instance. This saves a map lookup.
layers/draw_state.cpp