DescriptionFix two inconsistencies in handling fixed-function texture coordinate set generation
Prevent off-by-one bug leaving the texture coordinate set 0 always enabled if
it ever was used. This makes the code consistent with its apparent purpose.
When enabling / disabling texture coordinate sets, call glPathTexGen
only if path rendering is applicable. This makes the functions
consistent with GrGpuGL::resetContext.
Committed: http://code.google.com/p/skia/source/detail?r=12074
Patch Set 1 #
Total comments: 2
Patch Set 2 : address comments #
Messages
Total messages: 6 (0 generated)
|