libobs-d3d11: Catch be reference
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user