From 50712c74f62e444a1eb82a44a057969b14833684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 22 Jul 2019 13:32:54 +0200 Subject: [PATCH] Update euclid. --- Cargo.toml | 4 ++-- src/draw_buffer.rs | 2 +- src/gl_context.rs | 2 +- src/platform/with_egl/utils.rs | 2 +- src/platform/with_glx/utils.rs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 98f90dfd..613e741 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "offscreen_gl_context" license = "MIT / Apache-2.0" edition = "2018" -version = "0.22.4" +version = "0.23.0" authors = ["Emilio Cobos Álvarez ", "The Servo Project Developers"] description = "Creation and manipulation of HW accelerated offscreen rendering contexts in multiple platforms. Originally intended for the Servo project's WebGL implementation." repository = "https://github.com/servo/rust-offscreen-rendering-context" @@ -19,7 +19,7 @@ no_wgl = [] test_egl_in_linux = ["libloading", "lazy_static"] [dependencies] -euclid = "0.19" +euclid = "0.20" gleam = "0.6" lazy_static = { version = "1", optional = true } libloading = { version = "0.5", optional = true, default-features = false } diff --git a/src/draw_buffer.rs b/src/draw_buffer.rs index 4e59142..6a72f45 100644 --- a/src/draw_buffer.rs +++ b/src/draw_buffer.rs @@ -1,4 +1,4 @@ -use euclid::Size2D; +use euclid::default::Size2D; use gleam::gl; use gleam::gl::types::{GLuint, GLenum, GLint}; use std::rc::Rc; diff --git a/src/gl_context.rs b/src/gl_context.rs index 487ccd2..8a9b8f5 100644 --- a/src/gl_context.rs +++ b/src/gl_context.rs @@ -1,4 +1,4 @@ -use euclid::Size2D; +use euclid::default::Size2D; use gleam::gl; use gleam::gl::types::{GLuint}; use std::rc::Rc; diff --git a/src/platform/with_egl/utils.rs b/src/platform/with_egl/utils.rs index 091852d..d22cc51 100644 --- a/src/platform/with_egl/utils.rs +++ b/src/platform/with_egl/utils.rs @@ -1,5 +1,5 @@ use std::mem; -use euclid::Size2D; +use euclid::default::Size2D; use super::{NativeGLContext, NativeGLContextHandle}; use crate::GLVersion; diff --git a/src/platform/with_glx/utils.rs b/src/platform/with_glx/utils.rs index 8825add..b1369cc 100644 --- a/src/platform/with_glx/utils.rs +++ b/src/platform/with_glx/utils.rs @@ -4,7 +4,7 @@ use x11::xlib::*; use glx::types::GLXDrawable; use std::ffi::CStr; use std::os::raw::*; -use euclid::Size2D; +use euclid::default::Size2D; use crate::GLVersion; use crate::NativeGLContext;