summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-11-30 01:17:00 -0500
committerLLLL Colonq <llll@colonq>2025-11-30 01:17:00 -0500
commit1736fec8c78cc30c62f78410f0ad3f187c072d59 (patch)
tree238119191895243064ee72ec0e3323786a600677
parent40b0a8a98cbdb74dce99a8c8323f9e2790fa4d21 (diff)
Update
-rw-r--r--crates/teleia/src/context.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/teleia/src/context.rs b/crates/teleia/src/context.rs
index 21212f0..42ab6d8 100644
--- a/crates/teleia/src/context.rs
+++ b/crates/teleia/src/context.rs
@@ -175,6 +175,12 @@ impl Context {
}
}
+ pub fn depth_mask(&self, m: bool) {
+ unsafe {
+ self.gl.depth_mask(m);
+ }
+ }
+
pub fn begin_stencil(&self) {
unsafe {
self.gl.stencil_func(glow::ALWAYS, 1, 0xff);