summaryrefslogtreecommitdiff
path: root/src/constants.rs
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2020-03-03 08:19:43 -0600
committerTom Barrett <tom@tombarrett.xyz>2020-03-03 08:19:43 -0600
commitfebf1af1eca928aa212fd3ba2be6f1f1baa46e3f (patch)
treec5a6d42104c3748e94299178bcccfe11c14cb460 /src/constants.rs
parent930579481957454e81c09da1391ec0019607c360 (diff)
every pipeline builder call clears the buffer, so only the last viewport is shown
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs2
1 files changed, 2 insertions, 0 deletions
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;