]> git.cworth.org Git - apitrace/commit
trim: Never trim any glBindTexture calls.
authorCarl Worth <cworth@cworth.org>
Thu, 16 Aug 2012 18:33:45 +0000 (11:33 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 22 Nov 2012 08:03:31 +0000 (08:03 +0000)
commit38839b7ee68a63cae3d782368988daabb808bfd1
treeadd2e0421f9013cea79b5e406bbf468e2c188ed4
parent6338d4c26c8ba7afad886404921bf1988ced3822
trim: Never trim any glBindTexture calls.

This shouldn't be necessary. I've got a case where trimming out the
glBindTexture of an unused texture changes the behavoir, which
shouldn't be the case.

While I'll still try to track down that bug, this patch provides
conservative behavior that hopefully won't break anything. (The only
real downside is the potential of an implementation getting confused
by a glBindTexture with a value that was not returned by
glGenTextures).
cli/cli_trim.cpp