diff options
author | HampusM <hampus@hampusmat.com> | 2024-05-23 19:12:53 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-05-23 19:12:53 +0200 |
commit | b414b3e2ce8ea515915dc8798790d37b57d81441 (patch) | |
tree | 236e690eb3ce6ca6711117066f94014d56bc648a /engine/src | |
parent | 6d53e3b175fbaf379ef8400cdd1efeb725cf4ecd (diff) |
refactor(engine): rename renderer module to opengl.rs
Diffstat (limited to 'engine/src')
-rw-r--r-- | engine/src/renderer.rs | 1 | ||||
-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; |