Fix for performance regression due to r3832
http://codereview.appspot.com/6188045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3840 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
index a06b008..9aa9b31 100644
--- a/src/gpu/gl/GrGpuGL.cpp
+++ b/src/gpu/gl/GrGpuGL.cpp
@@ -2239,8 +2239,10 @@
// relies on detecting when the kModifyStencilClip_StateBit state has
// changed since the last draw.
fHWDrawState.copyStateFlags(*drawState);
+
+ // TODO: may no longer need this
// only GrInOrderDrawBuffer ever needs to ref/unref the textures
- fHWDrawState.disableState(GrDrawState::kTexturesNeedRef_StateBit);
+ fHWDrawState.disableBehavior(GrDrawState::kTexturesNeedRef_BehaviorBit);
return true;
}