aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorDustin Graves <dustin@lunarg.com>2016-04-29 11:55:43 -0600
committerTobin Ehlis <tobine@google.com>2016-04-29 12:17:14 -0600
commit0737226d2170be53c4e14aa3968d4386c7201c32 (patch)
treeda743c0a8c4a11df4d0fbbef7c243079da34f6a1 /layers/core_validation.cpp
parentae03bdd4d1b5f0be535857d55afccd3e10a05d56 (diff)
downloadusermoji-0737226d2170be53c4e14aa3968d4386c7201c32.tar.xz
layers: Fix access violation
Move the get_dispatch_key(instance/device) call before calling the driver's vkDestroyDevice/vkDestroyInstance functions in unique_objects. This addresses an access violation error reported by Application Verifier on Windows due to the previously destroyed instance/device handle being dereferenced. Change-Id: I151d42fb8a897d9d3b3c988813108b0b6b5b6b0d
Diffstat (limited to 'layers/core_validation.cpp')
0 files changed, 0 insertions, 0 deletions