fMaxTexCoords is unused in Release builds
BUG=skia: Review URL: https://codereview.chromium.org/853643005
This commit is contained in:
parent
89069a9bdb
commit
b54fe40b07
@ -312,8 +312,9 @@ public:
|
||||
GrGLLegacyPathProcessor(const GrPathProcessor& pathProc, const GrBatchTracker& bt,
|
||||
int maxTexCoords)
|
||||
: INHERITED(pathProc, bt)
|
||||
, fMaxTexCoords(maxTexCoords)
|
||||
, fTexCoordSetCnt(0) {}
|
||||
, fTexCoordSetCnt(0) {
|
||||
SkDEBUGCODE(fMaxTexCoords = maxTexCoords;)
|
||||
}
|
||||
|
||||
int addTexCoordSets(int count) {
|
||||
int firstFreeCoordSet = fTexCoordSetCnt;
|
||||
@ -368,7 +369,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
int fMaxTexCoords;
|
||||
SkDEBUGCODE(int fMaxTexCoords;)
|
||||
int fTexCoordSetCnt;
|
||||
|
||||
typedef GrGLPathProcessor INHERITED;
|
||||
|
Loading…
Reference in New Issue
Block a user