| commit | 5091b7094ba4708451ea73b4fdd8020d8aaa7d23 | [log] [tgz] |
|---|---|---|
| author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 09 10:49:39 2012 +0000 |
| committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 09 10:49:39 2012 +0000 |
| tree | 6193694e45aa3e0a4c230753c556c8a6964fa633 | |
| parent | e012e0a3414e8ab93dc90fd139256f2a71fc6f9f [diff] [blame] |
Added resource domain to GrTextureDesc https://codereview.appspot.com/6459062/ git-svn-id: http://skia.googlecode.com/svn/trunk@5028 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp index ac17a10..208bd2e 100644 --- a/src/gpu/GrTexture.cpp +++ b/src/gpu/GrTexture.cpp
@@ -151,7 +151,7 @@ } cacheID->fPublicID = clientKey; - cacheID->fDomain = GrCacheID::kUnrestricted_ResourceDomain; + cacheID->fDomain = desc.fResourceDomain; // we assume we only need 16 bits of width and height // assert that texture creation will fail anyway if this assumption