From b377181c54f6d074f40afaf47858a8e9846e6dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lena=20Miliz=C3=A9?= Date: Thu, 27 Oct 2022 10:03:36 +0200 Subject: [PATCH] re-export winit and glow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lena Milizé --- imgui-glow-renderer/src/lib.rs | 3 +++ imgui-winit-support/src/lib.rs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/imgui-glow-renderer/src/lib.rs b/imgui-glow-renderer/src/lib.rs index 9ee3fd8..1f3f3cb 100644 --- a/imgui-glow-renderer/src/lib.rs +++ b/imgui-glow-renderer/src/lib.rs @@ -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; diff --git a/imgui-winit-support/src/lib.rs b/imgui-winit-support/src/lib.rs index a8b012d..a907fb9 100644 --- a/imgui-winit-support/src/lib.rs +++ b/imgui-winit-support/src/lib.rs @@ -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::{