Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 6ece67fd10a19beb1e00fa8debfa1ad4d63878a8..a722eed88ac5cac8a663adbe9f7fc14ac1d6315d 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -5,6 +5,7 @@ |
* Use of this source code is governed by a BSD-style license that can be |
* found in the LICENSE file. |
*/ |
+ |
#include "GrContext.h" |
@@ -443,6 +444,7 @@ |
return NULL; |
} |
fResourceCache->addResource(texture->getScratchKey(), texture); |
+ texture->fIsScratch = GrGpuResource::kYes_IsScratch; |
return texture; |
} |