aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrResource.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-16 14:49:16 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-16 14:49:16 +0000
commit1f47f4f7325971dd53991e2bb02da94fa7c6d962 (patch)
treea5b5dc02a15a3f3d4edeb921bda4ea1895f4ce77 /src/gpu/GrResource.cpp
parent71329d809a42889af8d2cadc4e43c60488a739a1 (diff)
Replaced TextureCacheEntry with GrTexture* and a back pointer to GrResourceEntry (in GrTexture)
Diffstat (limited to 'src/gpu/GrResource.cpp')
-rw-r--r--src/gpu/GrResource.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrResource.cpp b/src/gpu/GrResource.cpp
index 7e2d4a8bb5..74fc63d471 100644
--- a/src/gpu/GrResource.cpp
+++ b/src/gpu/GrResource.cpp
@@ -16,6 +16,7 @@ GrResource::GrResource(GrGpu* gpu) {
fGpu = gpu;
fNext = NULL;
fPrevious = NULL;
+ fCacheEntry = NULL;
fGpu->insertResource(this);
}