From 1a7c2a95c04ab795bc112bd4fd3c9d44c5240497 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 10 Feb 2026 14:46:05 -0500 Subject: Update --- crates/teleia/src/context.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'crates') diff --git a/crates/teleia/src/context.rs b/crates/teleia/src/context.rs index 42ab6d8..28ca2bf 100644 --- a/crates/teleia/src/context.rs +++ b/crates/teleia/src/context.rs @@ -231,6 +231,17 @@ impl Context { } } + pub fn flip_colors_blend(&self) { + unsafe { + self.gl.blend_func_separate( + glow::ONE_MINUS_DST_COLOR, + glow::ZERO, + glow::ZERO, + glow::ONE, + ); + } + } + pub fn enable_culling(&self) { unsafe { self.gl.enable(glow::CULL_FACE); -- cgit v1.2.3