From cf7654007bbd6cea13d96b2e15397ab8bf3d34f8 Mon Sep 17 00:00:00 2001 From: Paul Rouget Date: Fri, 20 Sep 2019 07:59:21 +0200 Subject: [PATCH] Do not fail if preserveDrawingBuffer --- Cargo.toml | 2 +- src/draw_buffer.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 75b5c37..aad54bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "offscreen_gl_context" license = "MIT / Apache-2.0" edition = "2018" -version = "0.25.0" +version = "0.25.1" 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" diff --git a/src/draw_buffer.rs b/src/draw_buffer.rs index b1648e1..e9d4263 100644 --- a/src/draw_buffer.rs +++ b/src/draw_buffer.rs @@ -98,7 +98,7 @@ impl DrawBuffer { } if attrs.preserve_drawing_buffer { - return Err("preserveDrawingBuffer is not supported yet"); + error!("preserveDrawingBuffer is not supported yet"); } // See https://github.com/servo/servo/issues/12320