initialize repository

This commit is contained in:
Micah Johnston
2020-09-02 22:19:30 -05:00
commit ad4a03eb91
6 changed files with 24 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/target
Cargo.lock

8
Cargo.toml Normal file
View 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
View 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
View File

0
src/win.rs Normal file
View File

0
src/x11.rs Normal file
View File