Add support for selecting the color bit depth and if the application used a depth buffer.
diff --git a/rsObjectBase.cpp b/rsObjectBase.cpp
index 6a5b7d8..07bbc1e 100644
--- a/rsObjectBase.cpp
+++ b/rsObjectBase.cpp
@@ -43,6 +43,11 @@
     mRefCount --;
     //LOGV("ObjectBase %p dec ref %i", this, mRefCount);
     if (!mRefCount) {
+        if (mName) {
+            LOGV("Deleting RS object %p, name %s", this, mName);
+        } else {
+            LOGV("Deleting RS object %p, no name", this);
+        }
         delete this;
     }
 }