Merge pull request #676 from lovelymono/reexport-glow-winit

Re-export `winit` and `glow` crates
This commit is contained in:
dbr/Ben 2022-11-22 17:21:54 +10:30 committed by GitHub
commit 8329cd7d17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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::{