Skip to content

Commit

Permalink
api: ios: use trait signature in raw_handle()
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyusa committed Nov 9, 2018
1 parent 208ce71 commit 576a0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/ios/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ impl Drop for Context {
impl GlContextExt for Context {
type Handle = *mut c_void;
#[inline]
unsafe fn raw_handle(&self) -> *mut c_void {
unsafe fn raw_handle(&self) -> Self::Handle {
self.eagl_context as *mut c_void
}

Expand Down

0 comments on commit 576a0f0

Please sign in to comment.