aboutsummaryrefslogtreecommitdiff
path: root/src/renderer/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/mod.rs')
-rw-r--r--src/renderer/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs
index 333604f6..dfaf6b30 100644
--- a/src/renderer/mod.rs
+++ b/src/renderer/mod.rs
@@ -1100,6 +1100,7 @@ impl From<io::Error> for ShaderCreationError {
///
/// The strategy for filling an atlas looks roughly like this:
///
+/// ```ignore
/// (width, height)
/// ┌─────┬─────┬─────┬─────┬─────┐
/// │ 10 │ │ │ │ │ <- Empty spaces; can be filled while
@@ -1112,6 +1113,7 @@ impl From<io::Error> for ShaderCreationError {
/// │ │ │ │ │ <- Row considered full when next glyph doesn't
/// └─────┴─────┴─────┴───────────┘ fit in the row.
/// (0, 0) x->
+/// ```
#[derive(Debug)]
struct Atlas {
/// Texture id for this atlas