From 39128dd7e11ffa05eb06933cb6e3ce0e750e8806 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 16 Jun 2015 13:48:08 +0200 Subject: Remove the is_closed function --- src/api/emscripten/mod.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/api/emscripten') diff --git a/src/api/emscripten/mod.rs b/src/api/emscripten/mod.rs index 48b31a9..9d4bb56 100644 --- a/src/api/emscripten/mod.rs +++ b/src/api/emscripten/mod.rs @@ -108,11 +108,6 @@ impl Window { }) } - pub fn is_closed(&self) -> bool { - use std::ptr; - unsafe { ffi::emscripten_is_webgl_context_lost(ptr::null()) != 0 } - } - pub fn set_title(&self, _title: &str) { } -- cgit v1.2.3