Skip to content

Commit

Permalink
Merge pull request #2101 from faern/re-export-capabilities
Browse files Browse the repository at this point in the history
Publicly export `Capabilities` and `ExtensionsList` struct
  • Loading branch information
est31 committed Feb 22, 2024
2 parents e553936 + 21c9bf5 commit 4d2ac02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/context/extensions.rs
Expand Up @@ -9,6 +9,7 @@ macro_rules! extensions {
#[derive(Debug, Clone, Copy)]
pub struct ExtensionsList {
$(
#[allow(missing_docs)]
pub $field: bool,
)+
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Expand Up @@ -111,10 +111,10 @@ extern crate lazy_static;

#[cfg(feature = "glutin")]
pub use crate::backend::glutin::glutin;
pub use crate::context::{Profile, UuidError};
pub use crate::context::{Capabilities, ExtensionsList, Profile, UuidError};
pub use crate::draw_parameters::{Blend, BlendingFunction, LinearBlendingFactor, BackfaceCullingMode};
pub use crate::draw_parameters::{Depth, DepthTest, PolygonMode, DrawParameters, StencilTest, StencilOperation};
pub use crate::draw_parameters::{Smooth};
pub use crate::draw_parameters::Smooth;
pub use crate::index::IndexBuffer;
pub use crate::vertex::{VertexBuffer, Vertex, VertexFormat};
pub use crate::program::{Program, ProgramCreationError};
Expand Down

0 comments on commit 4d2ac02

Please sign in to comment.