summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/src/renderer.rs1
-rw-r--r--engine/src/renderer/opengl.rs (renamed from engine/src/renderer/mod.rs)2
2 files changed, 3 insertions, 0 deletions
diff --git a/engine/src/renderer.rs b/engine/src/renderer.rs
new file mode 100644
index 0000000..2544919
--- /dev/null
+++ b/engine/src/renderer.rs
@@ -0,0 +1 @@
+pub mod opengl;
diff --git a/engine/src/renderer/mod.rs b/engine/src/renderer/opengl.rs
index 485c0bb..c97d8dd 100644
--- a/engine/src/renderer/mod.rs
+++ b/engine/src/renderer/opengl.rs
@@ -1,3 +1,5 @@
+//! OpenGL renderer.
+
use std::collections::HashMap;
use std::ffi::{c_void, CString};
use std::process::abort;