Merge pull request #788 from ozkriff/android_fix_get_pixel_format

android: Fix Window::get_pixel_format
This commit is contained in:
tomaka
2016-06-19 11:03:43 +02:00
committed by GitHub

View File

@@ -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()
}
}