diff options
| author | LLLL Colonq <llll@colonq> | 2025-11-30 01:17:00 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-11-30 01:17:00 -0500 |
| commit | 1736fec8c78cc30c62f78410f0ad3f187c072d59 (patch) | |
| tree | 238119191895243064ee72ec0e3323786a600677 | |
| parent | 40b0a8a98cbdb74dce99a8c8323f9e2790fa4d21 (diff) | |
Update
| -rw-r--r-- | crates/teleia/src/context.rs | 6 |
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); |
