re-export winit and glow

Signed-off-by: Lena Milizé <me@lvmn.org>
This commit is contained in:
Lena Milizé 2022-10-27 10:03:36 +02:00
parent fa3404fbb5
commit b377181c54
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::{