diff options
| author | 2009-09-27 17:50:38 -0700 | |
|---|---|---|
| committer | 2009-09-27 17:50:38 -0700 | |
| commit | 3c0dfbab807a459622aeade4940daddf482dec66 (patch) | |
| tree | efd2b716319c8f69789ec81343776eb7d008975e /libs/rs/rsAllocation.cpp | |
| parent | e7d60bfdff35ad8eace600d2a6cb81163c966bb0 (diff) | |
Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
Diffstat (limited to 'libs/rs/rsAllocation.cpp')
| -rw-r--r-- | libs/rs/rsAllocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp index 8ee6e5a45324..8ac9c26a2f37 100644 --- a/libs/rs/rsAllocation.cpp +++ b/libs/rs/rsAllocation.cpp @@ -141,6 +141,7 @@ void Allocation::subData(uint32_t xoff, uint32_t count, const void *data, uint32 if (size != sizeBytes) { LOGE("Allocation::subData called with mismatched size expected %i, got %i", size, sizeBytes); + mType->dumpLOGV("type info"); return; } memcpy(ptr, data, size); |