diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-07-02 12:59:25 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-07 15:57:59 -0600 |
| commit | 290f5e2838beab4d3fec99dcb70eb042ecdbdfb2 (patch) | |
| tree | e43fc80993f18658823c672c7229d9b9c20bfe27 /loader/debug_report.c | |
| parent | 18dff0ac49ca64000573b44aeee8fed015f92d52 (diff) | |
| download | usermoji-290f5e2838beab4d3fec99dcb70eb042ecdbdfb2.tar.xz | |
loader: Remove the merged enabled_extension list in device and instance structs
Instead layer stuff can just directly use the activate_layers_list rather
than having an intermediate list.
This simplifies the code and prepares for adding implicit layers directly.
Diffstat (limited to 'loader/debug_report.c')
| -rw-r--r-- | loader/debug_report.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/loader/debug_report.c b/loader/debug_report.c index 9a0396b0..757ad3ff 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -57,9 +57,10 @@ void debug_report_add_instance_extensions( void debug_report_create_instance( struct loader_instance *ptr_instance) { - ptr_instance->debug_report_enabled = has_vk_extension_property( - &debug_report_extension_info.info, - &ptr_instance->enabled_instance_extensions); + ptr_instance->debug_report_enabled = has_vk_extension_property_array( + &debug_report_extension_info.info, + ptr_instance->app_extension_count, + ptr_instance->app_extension_props); } static VkResult debug_report_DbgCreateMsgCallback( |
