Add extra state reset for draw buffers indexed state.
authorMika Isojärvi <misojarvi@google.com>
Thu, 12 Mar 2015 20:38:33 +0000 (13:38 -0700)
committerMika Isojärvi <misojarvi@google.com>
Thu, 12 Mar 2015 21:00:32 +0000 (14:00 -0700)
commitc651919ffb9af4e95c6baa8fdc2c5a24e24d115f
treea7c899ca7dad3bfcab98795e7f6d91330daa9857
parente7bb49b87afa8a5b610ec5a094b46160bfd38195
Add extra state reset for draw buffers indexed state.

Some drivers have bugs with GL_EXT_draw_buffers_indexed state. Common functions,
e.g. glBlendFunc(), fail to reset indexed state. These extra function calls make
sure that state gets reset to initial values.

Change-Id: I06b709ef81efb0ecfdbe1f88ac94dca49f39d7dc
framework/opengl/gluStateReset.cpp