1#![deny(missing_docs)]
2#![deny(missing_copy_implementations)]
3
4#[cfg(not(feature = "glow"))]
7extern crate gl;
8#[cfg(feature = "glow")]
9extern crate glow_wrap as gl;
10extern crate graphics;
11extern crate image;
12extern crate shader_version;
13extern crate shaders_graphics2d as shaders;
14extern crate texture as texture_lib;
15extern crate viewport;
16
17pub use crate::back_end::{Colored, GlGraphics, Textured, TexturedColor};
18pub use crate::texture::Texture;
19pub use shader_version::glsl::GLSL;
20pub use shader_version::{OpenGL, Shaders};
21pub use texture_lib::*;
22
23pub mod error;
24pub mod shader_uniforms;
25pub mod shader_utils;
26
27pub type GlyphCache<'a> = graphics::glyph_cache::rusttype::GlyphCache<'a, (), Texture>;
29
30mod back_end;
31mod draw_state;
32mod texture;
33
34#[cfg(feature = "glow")]
35pub use gl::set_context;