aboutsummaryrefslogtreecommitdiff
path: root/layers/draw_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/draw_state.cpp')
-rw-r--r--layers/draw_state.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index 4cccdd19..590f4bb0 100644
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -2645,8 +2645,9 @@ static void createDeviceRegisterExtensions(const VkDeviceCreateInfo* pCreateInfo
}
if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], DEBUG_MARKER_EXTENSION_NAME) == 0) {
/* Found a matching extension name, mark it enabled and init dispatch table*/
- initDebugMarkerTable(device);
dev_data->device_extensions.debug_marker_enabled = true;
+ initDebugMarkerTable(device);
+
}
}
}