Skip to content

Commit

Permalink
Merge pull request #676 from lovelymono/reexport-glow-winit
Browse files Browse the repository at this point in the history
Re-export `winit` and `glow` crates
  • Loading branch information
dbr authored Nov 22, 2022
2 parents 4f3e6b0 + b377181 commit 8329cd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions imgui-glow-renderer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ use std::{borrow::Cow, error::Error, fmt::Display, mem::size_of};
use imgui::{internal::RawWrapper, DrawCmd, DrawData, DrawVert};

use crate::versions::{GlVersion, GlslVersion};

// Re-export glow to make it easier for users to use the correct version.
pub use glow;
use glow::{Context, HasContext};

pub mod versions;
Expand Down
3 changes: 3 additions & 0 deletions imgui-winit-support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
use imgui::{self, BackendFlags, ConfigFlags, Context, Io, Key, Ui};
use std::cell::Cell;
use std::cmp::Ordering;

// Re-export winit to make it easier for users to use the correct version.
pub use winit;
use winit::dpi::{LogicalPosition, LogicalSize};

use winit::{
Expand Down

0 comments on commit 8329cd7

Please sign in to comment.