From 7a8429e49913147a3b5e28b7e35478ac3ddd0dff Mon Sep 17 00:00:00 2001 From: Andrey Lesnikov Date: Sun, 19 Jun 2016 11:24:26 +0300 Subject: [PATCH] android: Fixed Window::get_pixel_format --- src/api/android/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/android/mod.rs b/src/api/android/mod.rs index 2c17d927..43953fcc 100644 --- a/src/api/android/mod.rs +++ b/src/api/android/mod.rs @@ -231,7 +231,7 @@ impl Window { #[inline] pub fn get_pixel_format(&self) -> PixelFormat { - unimplemented!(); + self.context.get_pixel_format() } #[inline] @@ -289,7 +289,7 @@ impl GlContext for Window { #[inline] fn get_pixel_format(&self) -> PixelFormat { - self.context.get_pixel_format() + self.get_pixel_format() } }