From febf1af1eca928aa212fd3ba2be6f1f1baa46e3f Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Tue, 3 Mar 2020 08:19:43 -0600 Subject: every pipeline builder call clears the buffer, so only the last viewport is shown --- src/constants.rs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/constants.rs (limited to 'src/constants.rs') diff --git a/src/constants.rs b/src/constants.rs new file mode 100644 index 0000000..4f87ae4 --- /dev/null +++ b/src/constants.rs @@ -0,0 +1,2 @@ +pub const WIDTH: u32 = 640; +pub const HEIGHT: u32 = 480; -- cgit v1.2.3