Skip to content

Commit c82713d

Browse files
committed
Rename easy-opengl to easy-imgui-openl.
That crate name was already taken.
1 parent baa021b commit c82713d

File tree

10 files changed

+27
-26
lines changed

10 files changed

+27
-26
lines changed

Cargo.lock

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ members = [
66
"easy-imgui-renderer",
77
"easy-imgui-window",
88
"easy-imgui-filechooser",
9-
"easy-opengl",
9+
"easy-imgui-opengl",
1010
]

easy-opengl/Cargo.toml renamed to easy-imgui-opengl/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "easy-opengl"
2+
name = "easy-imgui-opengl"
33
version = "0.1.0"
44
edition = "2021"
55
description = "OpenGL helper types, designed to work with easy-imgui"

easy-imgui-opengl/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# easy-imgui-opengl
2+
3+
OpenGL helper types for `easy-imgui`.
4+
5+
They implement easy handling of shaders and resoures, everything based on the crate `glow`.
6+
7+
Original intended as a helper crate for `easy-imgui`, it doesn't depend on it on any way, so you can use
8+
this for any other OpenGL-`glow` code.
9+
10+
TODO: Documentation of the public API.
File renamed without changes.

easy-imgui-renderer/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ keywords = ["imgui", "ui", "graphics"]
1414
[dependencies]
1515
easy-imgui-sys = { version = "=0.12.0", path = "../easy-imgui-sys" }
1616
easy-imgui = { version = "=0.12.0", path = "../easy-imgui" }
17-
easy-opengl = { version = "0.1", path = "../easy-opengl" }
17+
easy-imgui-opengl = { version = "0.1", path = "../easy-imgui-opengl" }
1818

1919
anyhow = "1"
2020
cgmath = "0.18"

easy-imgui-renderer/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub use easy_imgui;
77
pub use easy_imgui_sys;
88

99
// Handy re-exports of core dependencies
10-
pub use easy_opengl::{self, glow};
10+
pub use easy_imgui_opengl::{self, glow};
1111

1212
mod renderer;
1313
pub use renderer::*;

easy-imgui-renderer/src/renderer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use crate::glow::{self, HasContext};
44
use anyhow::{anyhow, Result};
55
use cgmath::{EuclideanSpace, Matrix3, Point2, Transform};
66
use easy_imgui as imgui;
7+
use easy_imgui_opengl as glr;
78
use easy_imgui_sys::*;
8-
use easy_opengl as glr;
99
use imgui::{Color, TextureId, Vector2};
1010

1111
/// The main `Renderer` type.

easy-imgui-window/examples/pong.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use easy_imgui_window::{
99
use winit::{event::WindowEvent, event_loop::EventLoop, window::Window};
1010

1111
use easy_imgui_renderer::{
12-
easy_opengl::{self as glr, GlContext, UniformField},
12+
easy_imgui_opengl::{self as glr, GlContext, UniformField},
1313
glow,
1414
};
1515
use glutin::surface::GlSurface;

easy-opengl/README.md

-9
This file was deleted.

0 commit comments

Comments
 (0)