-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overall Clippy related updates #10
Conversation
} | ||
1 => { | ||
warn!("FSR warning with :\n {:?}", str_msg); | ||
warn!("FidelityFX warning with :\n {:?}", str_msg); | ||
} | ||
2 => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FFX_MESSAGE_TYPE_COUNT
etc
@@ -67,16 +69,16 @@ pub unsafe extern "C" fn msg_callback_func( | |||
match msg_type { | |||
// TODO(YIGIT): Flags are not working here for some reason |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh err... That's weird it's just a type alias or newtype
@@ -351,6 +354,9 @@ impl From<DispatchDescription<'_>> for fidelityfx_sys::Fsr3DispatchUpscaleDescri | |||
} | |||
|
|||
impl Context { | |||
/// # Safety | |||
/// | |||
/// You must ensure that the parameters of Fsr3ContextCreate are properly provided. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"properly" :)
Updated parts of the code that Clippy was complaining about. Also moved the destroy function of Context into the Drop trait.