Cocoa opens a window with OpenGL context inside

This commit is contained in:
David Partouche 2014-10-04 15:49:39 +02:00
parent fe245e2929
commit c38110cac7
3 changed files with 105 additions and 12 deletions

View file

@ -22,6 +22,11 @@
#[phase(plugin)] extern crate gl_generator;
extern crate libc;
#[cfg(target_os = "macos")]
extern crate cocoa;
#[cfg(target_os = "macos")]
extern crate core_foundation;
pub use events::*;
use std::default::Default;