initialize repository
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/target
|
||||||
|
Cargo.lock
|
||||||
8
Cargo.toml
Normal file
8
Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[package]
|
||||||
|
name = "raw-gl-context"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Micah Johnston <micah@glowcoil.com>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
raw-window-handle = "0.3.3"
|
||||||
14
src/lib.rs
Normal file
14
src/lib.rs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#[cfg(target_os = "windows")]
|
||||||
|
mod win;
|
||||||
|
#[cfg(target_os = "windows")]
|
||||||
|
pub use win::*;
|
||||||
|
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
|
mod x11;
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
|
pub use crate::x11::*;
|
||||||
|
|
||||||
|
#[cfg(target_os = "macos")]
|
||||||
|
mod macos;
|
||||||
|
#[cfg(target_os = "macos")]
|
||||||
|
pub use macos::*;
|
||||||
0
src/macos.rs
Normal file
0
src/macos.rs
Normal file
0
src/win.rs
Normal file
0
src/win.rs
Normal file
0
src/x11.rs
Normal file
0
src/x11.rs
Normal file
Reference in New Issue
Block a user