libobs-d3d11: Catch be reference

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-07-24 14:51:59 +02:00
parent b31e93d59e
commit 1154c01266
3 changed files with 25 additions and 25 deletions

View File

@@ -405,6 +405,6 @@ try {
} catch (const char *error) {
bcrash("Failed to recreate D3D11: %s", error);
} catch (HRError error) {
} catch (HRError &error) {
bcrash("Failed to recreate D3D11: %s (%08lX)", error.str, error.hr);
}