KhronosGroup / Vulkan-Samples

One stop solution for all Vulkan samples
Apache License 2.0
4.33k stars 648 forks source link

Remove superfluous calls to set_debug_name #991

Closed jherico closed 8 months ago

jherico commented 8 months ago

Description

As mentioned in the linked issue, the move constructor and move assignment operator only need to set the member variable debug_name. They do not need to call set_debug_name on the handle again, because that would have already happened when the debug name was first set in the original object, with the same handle value.

Fixes #988

General Checklist:

Please ensure the following points are checked:

marty-johnson59 commented 8 months ago

Merging - 3 approvals