# HG changeset patch # User Emmanuel Gil Peyrot # Date 1566667859 -7200 # Node ID 987409d489910a48c7a8b85e12a4e935d75c7779 # Parent bca515da9047b6b5086190a20fdcaef8c9de4e4a Switch to versioned luminance now that it got released, not hardcoded paths. diff --git a/Cargo.toml b/Cargo.toml --- a/Cargo.toml +++ b/Cargo.toml @@ -14,9 +14,9 @@ nom = "5" encoding_rs = "0.8" image = { version = "0.22", default-features = false, features = ["png_codec"] } bitflags = "1" -luminance = { version = "*", path = "../luminance/luminance" } -luminance-glfw = { version = "*", path = "../luminance/luminance-glfw", default-features = false } -luminance-derive = { version = "*", path = "../luminance/luminance-derive" } +luminance = "0.31" +luminance-glfw = { version = "0.6", default-features = false } +luminance-derive = "0.1" [profile.dev] panic = "abort" diff --git a/examples/anmrenderer.rs b/examples/anmrenderer.rs --- a/examples/anmrenderer.rs +++ b/examples/anmrenderer.rs @@ -8,8 +8,7 @@ use luminance::shader::program::{Program use luminance::tess::{Mode, TessBuilder}; use luminance::texture::{Dim2, Flat}; use luminance_derive::{Semantics, Vertex, UniformInterface}; -use luminance_glfw::event::{Action, Key, WindowEvent}; -use luminance_glfw::surface::{GlfwSurface, Surface, WindowDim, WindowOpt}; +use luminance_glfw::{Action, Key, WindowEvent, GlfwSurface, Surface, WindowDim, WindowOpt}; use touhou::th06::anm0::Anm0; use touhou::th06::anm0_vm::{AnmRunner, Sprite, Vertex as FakeVertex}; use touhou::util::math::{perspective, setup_camera}; diff --git a/examples/common.rs b/examples/common.rs --- a/examples/common.rs +++ b/examples/common.rs @@ -1,7 +1,7 @@ use image::{GenericImageView, DynamicImage}; use luminance::pixel::{NormRGB8UI, NormRGBA8UI}; use luminance::texture::{Dim2, Flat, Sampler, Texture, GenMipmaps}; -use luminance_glfw::surface::GlfwSurface; +use luminance_glfw::GlfwSurface; use touhou::th06::anm0::Anm0; use std::fs::File; use std::io::{BufReader, Read}; diff --git a/examples/eclrenderer.rs b/examples/eclrenderer.rs --- a/examples/eclrenderer.rs +++ b/examples/eclrenderer.rs @@ -8,8 +8,7 @@ use luminance::shader::program::{Program use luminance::tess::{Mode, TessBuilder}; use luminance::texture::{Dim2, Flat}; use luminance_derive::{Semantics, Vertex, UniformInterface}; -use luminance_glfw::event::{Action, Key, WindowEvent}; -use luminance_glfw::surface::{GlfwSurface, Surface, WindowDim, WindowOpt}; +use luminance_glfw::{Action, Key, WindowEvent, GlfwSurface, Surface, WindowDim, WindowOpt}; use touhou::th06::anm0::Anm0; use touhou::th06::anm0_vm::{Sprite, Vertex as FakeVertex}; use touhou::th06::ecl::{Ecl, Rank}; diff --git a/examples/stdrenderer.rs b/examples/stdrenderer.rs --- a/examples/stdrenderer.rs +++ b/examples/stdrenderer.rs @@ -8,8 +8,7 @@ use luminance::shader::program::{Program use luminance::tess::{Mode, TessBuilder, TessSliceIndex}; use luminance::texture::{Dim2, Flat}; use luminance_derive::{Semantics, Vertex, UniformInterface}; -use luminance_glfw::event::{Action, Key, WindowEvent}; -use luminance_glfw::surface::{GlfwSurface, Surface, WindowDim, WindowOpt}; +use luminance_glfw::{Action, Key, WindowEvent, GlfwSurface, Surface, WindowDim, WindowOpt}; use touhou::th06::anm0::Anm0; use touhou::th06::anm0_vm::{AnmRunner, Sprite, Vertex as FakeVertex}; use touhou::th06::std::{Stage, Position, Box2D};