aboutsummaryrefslogtreecommitdiff
path: root/loader/debug_report.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2015-10-26 20:48:51 +0800
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-11-02 13:40:50 -0700
commit3dfc13470d037c5681ae716bfbeb65b7e59f9018 (patch)
tree57e3af6b43557afbb039eb1c7f53bc6bf63ba3a4 /loader/debug_report.c
parent3f72dda365a3289d988160b6fdbcaa28dc059a71 (diff)
downloadusermoji-3dfc13470d037c5681ae716bfbeb65b7e59f9018.tar.xz
bug 14892: 'count' parameters and members named inconsistently in many cases (WIP)
s/waitSemCount/waitSemaphoreCount/g s/signalSemCount/signalSemaphoreCount/g s/cmdBufferCount/commandBufferCount/g s/queueFamilyCount/queueFamilyIndexCount/g s/layerCount/enabledLayerNameCount/g s/extensionCount/enabledExtensionNameCount/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14892
Diffstat (limited to 'loader/debug_report.c')
-rw-r--r--loader/debug_report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/debug_report.c b/loader/debug_report.c
index 00069b1f..d8d34503 100644
--- a/loader/debug_report.c
+++ b/loader/debug_report.c
@@ -59,7 +59,7 @@ void debug_report_create_instance(
{
ptr_instance->debug_report_enabled = false;
- for (uint32_t i = 0; i < pCreateInfo->extensionCount; i++) {
+ for (uint32_t i = 0; i < pCreateInfo->enabledExtensionNameCount; i++) {
if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_DEBUG_REPORT_EXTENSION_NAME) == 0) {
ptr_instance->debug_report_enabled = true;
return;