Skip to content

Commit

Permalink
fix(devkit): fix invalid code
Browse files Browse the repository at this point in the history
  • Loading branch information
clshortfuse committed Jul 30, 2024
1 parent 72ca24d commit 0e61a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devkit/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ void OnRegisterOverlay(reshade::api::effect_runtime* runtime) {
if (!shader_data.has_value()) throw std::exception("Failed to get shader data");
shader_details.program_version = renodx::utils::shader::compiler::DecodeShaderVersion(shader_data.value());
} catch (const std::exception& e) {
reshade::log_message(reshade::log_level::error, s.str().c_str());
reshade::log_message(reshade::log_level::error, e.what());
}
}
// Fallback to subobject
Expand Down

0 comments on commit 0e61a92

Please sign in to comment.