]> git.cworth.org Git - fips/commitdiff
Restore metrics op after temporarily changing for non-shader operation
authorCarl Worth <cworth@cworth.org>
Wed, 16 Oct 2013 20:03:15 +0000 (13:03 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 16 Oct 2013 20:07:32 +0000 (13:07 -0700)
This fixes the bug where an operation such as glClear would
incorrectly accrue all subsequent time until the next call to
glUseProgram would change the op away from glClear.

Now, each non-shader operation that changes the metrics operation
restores it to its previous value immediately afterward.


No differences found