layers: LunarXChange #55 fix - Only print DS state when we have last bound DS
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index 4271e4c..3306e37 100755
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -1297,7 +1297,7 @@
     char tmp_str[1024];
     char ds_config_str[1024*256] = {0}; // TODO : Currently making this buffer HUGE w/o overrun protection.  Need to be smarter, start smaller, and grow as needed.
     GLOBAL_CB_NODE* pCB = getCBNode(cb);
-    if (pCB) {
+    if (pCB && pCB->lastBoundDescriptorSet) {
         SET_NODE* pSet = getSetNode(pCB->lastBoundDescriptorSet);
         POOL_NODE* pPool = getPoolNode(pSet->pool);
         // Print out pool details