aboutsummaryrefslogtreecommitdiff
path: root/layers/mem_tracker.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-03-26 08:24:16 -0600
committerTobin Ehlis <tobin@lunarg.com>2015-03-26 08:24:57 -0600
commite7d04f5a73f3c394e00c54d212e61826810932ee (patch)
treeee12023081a3bb7153f04c1e4c839024850e7a6f /layers/mem_tracker.cpp
parentd82b12a55665570ca2daf4d5e661a9520424bdc5 (diff)
downloadusermoji-e7d04f5a73f3c394e00c54d212e61826810932ee.tar.xz
layers: Correct xglBindObjectMemory signature in MemTracker message.
Diffstat (limited to 'layers/mem_tracker.cpp')
-rw-r--r--layers/mem_tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/mem_tracker.cpp b/layers/mem_tracker.cpp
index 7a02581c..eb682c58 100644
--- a/layers/mem_tracker.cpp
+++ b/layers/mem_tracker.cpp
@@ -941,7 +941,7 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglDestroyObject(XGL_OBJECT object)
freeMemNode(memToFree);
} else {
char str[1024];
- sprintf(str, "Destroying obj %p that is still bound to memory object %p\nYou should first clear binding by calling xglBindObjectMemory(%p, 0, XGL_NULL_HANDLE)", object, (void*)pDelNode->pMemNode->mem, object);
+ sprintf(str, "Destroying obj %p that is still bound to memory object %p\nYou should first clear binding by calling xglBindObjectMemory(%p, 0, XGL_NULL_HANDLE, 0)", object, (void*)pDelNode->pMemNode->mem, object);
layerCbMsg(XGL_DBG_MSG_ERROR, XGL_VALIDATION_LEVEL_0, object, 0, MEMTRACK_DESTROY_OBJECT_ERROR, "MEM", str);
// From the spec : If an object has previous memory binding, it is required to unbind memory from an API object before it is destroyed.
clearObjectBinding(object);