summaryrefslogtreecommitdiff
path: root/opengl-bindings/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-03-29 21:15:44 +0200
committerHampusM <hampus@hampusmat.com>2026-03-29 21:15:44 +0200
commit4711f786ff4de41aad9007b2430b65bb1cdd08ac (patch)
tree453177c22cb789aa1a87a229e860cb5772b02be2 /opengl-bindings/src
parentf13ff0ad6a7581cd99fb00797f4492de3525ace4 (diff)
feat(opengl-bindings): add blend & cull face to misc::Capability
Diffstat (limited to 'opengl-bindings/src')
-rw-r--r--opengl-bindings/src/misc.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/opengl-bindings/src/misc.rs b/opengl-bindings/src/misc.rs
index bb54c1a..5dc5fed 100644
--- a/opengl-bindings/src/misc.rs
+++ b/opengl-bindings/src/misc.rs
@@ -1,7 +1,7 @@
use bitflags::bitflags;
-use crate::data_types::{Dimens, Vec2};
use crate::CurrentContextWithFns;
+use crate::data_types::{Dimens, Vec2};
/// Sets the viewport.
///
@@ -132,6 +132,8 @@ pub enum Capability
MultiSample = crate::sys::MULTISAMPLE,
DebugOutput = crate::sys::DEBUG_OUTPUT,
DebugOutputSynchronous = crate::sys::DEBUG_OUTPUT_SYNCHRONOUS,
+ Blend = crate::sys::BLEND,
+ CullFace = crate::sys::CULL_FACE,
}
#[derive(Debug)]