aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index e238b15..f38a4b8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2,6 +2,21 @@
#![feature(globs)]
#![unstable]
+//! The purpose of this library is to provide an OpenGL context on as many
+//! platforms as possible.
+//!
+//! # Building a window
+//!
+//! There are two ways to create a window:
+//!
+//! - Calling `Window::new()`.
+//! - Calling `let builder = WindowBuilder::new()` then `builder.build()`.
+//!
+//! The first way is the simpliest way and will give you default values.
+//!
+//! The second way allows you to customize the way your window and GL context
+//! will look and behave.
+
extern crate libc;
pub use events::*;