diff options
| author | HampusM <hampus@hampusmat.com> | 2026-05-28 19:56:43 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-05-28 19:56:43 +0200 |
| commit | 038aead236e77f41e6d229510a5e25741a6815c6 (patch) | |
| tree | fe50c328568f656e3528bef56b550b6b836c7102 /opengl-bindings/src/debug.rs | |
| parent | aba4f418af2e514c78fe06a1c98949670eaeacd9 (diff) | |
refactor(opengl-bindings): remove CurrentContextWithFns
Diffstat (limited to 'opengl-bindings/src/debug.rs')
| -rw-r--r-- | opengl-bindings/src/debug.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opengl-bindings/src/debug.rs b/opengl-bindings/src/debug.rs index a9369a4..167173f 100644 --- a/opengl-bindings/src/debug.rs +++ b/opengl-bindings/src/debug.rs @@ -5,10 +5,10 @@ use std::panic::catch_unwind; use util_macros::FromRepr; -use crate::CurrentContextWithFns; +use crate::MaybeCurrentContextWithFns; pub fn set_debug_message_callback( - current_context: &CurrentContextWithFns<'_>, + current_context: &MaybeCurrentContextWithFns, cb: MessageCallback, ) { @@ -24,7 +24,7 @@ pub fn set_debug_message_callback( /// # Errors /// Returns `Err` if `ids` contains too many ids. pub fn set_debug_message_control( - current_context: &CurrentContextWithFns<'_>, + current_context: &MaybeCurrentContextWithFns, source: Option<MessageSource>, ty: Option<MessageType>, severity: Option<MessageSeverity>, |
