Cocoa opens a window with OpenGL context inside
This commit is contained in:
parent
fe245e2929
commit
c38110cac7
3 changed files with 105 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue