From 038aead236e77f41e6d229510a5e25741a6815c6 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 28 May 2026 19:56:43 +0200 Subject: refactor(opengl-bindings): remove CurrentContextWithFns --- opengl-bindings/src/debug.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'opengl-bindings/src/debug.rs') 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, ty: Option, severity: Option, -- cgit v1.2.3-18-g5258