summaryrefslogtreecommitdiff
path: root/WebInterface/wasm/asm-paint/src/site.rs
diff options
context:
space:
mode:
Diffstat (limited to 'WebInterface/wasm/asm-paint/src/site.rs')
-rw-r--r--WebInterface/wasm/asm-paint/src/site.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebInterface/wasm/asm-paint/src/site.rs b/WebInterface/wasm/asm-paint/src/site.rs
index 47afd19..4ae0237 100644
--- a/WebInterface/wasm/asm-paint/src/site.rs
+++ b/WebInterface/wasm/asm-paint/src/site.rs
@@ -22,6 +22,7 @@ impl Site {
let element = self.document.get_element_by_id("canvas")
.or_else(|| {error!("could not gain canvas element"); None})?;
Canvas::new(element)
- .or_else(|| {error!("could not create a webgl2 canvas"); None})
+ .or_else(|| {error!("could not create a webgl2 canvas.
+ Your browser doesn't seem to support webgl2"); None})
}
}