From 110140ed6c8076444238b9a8b24990d762dccb4d Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Sun, 29 Nov 2015 14:20:28 +1000 Subject: [PATCH] Fix not implemented platform --- src/platform/not_implemented/native_gl_context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/not_implemented/native_gl_context.rs b/src/platform/not_implemented/native_gl_context.rs index b0412b8..23c08f2 100644 --- a/src/platform/not_implemented/native_gl_context.rs +++ b/src/platform/not_implemented/native_gl_context.rs @@ -3,7 +3,7 @@ use NativeGLContextMethods; pub struct NativeGLContext; #[cfg(feature="texture_surface")] -use layers::platform::surface::NativeGraphicsMetadata; +use layers::platform::surface::NativeDisplay; impl NativeGLContextMethods for NativeGLContext { fn get_proc_address(_addr: &str) -> *const () { @@ -27,7 +27,7 @@ impl NativeGLContextMethods for NativeGLContext { } #[cfg(feature="texture_surface")] - fn get_metadata(&self) -> NativeGraphicsMetadata { + fn get_display(&self) -> NativeDisplay { unimplemented!() } }