aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-05-11 00:55:09 +0200
committerkdx <kikoodx@paranoici.org>2023-05-11 00:55:09 +0200
commit96b15868d306c8b3ded01fad8c37dc964baa767d (patch)
tree7db69659b1e61c93dcaab8d34aca9cce4ce43124 /headers
parent7897350fb461e2803de639a03a2bfee06e85287d (diff)
downloadtzr-96b15868d306c8b3ded01fad8c37dc964baa767d.tar.gz
linear scaling config
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR.h3
-rw-r--r--headers/TZR_types.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/headers/TZR.h b/headers/TZR.h
index ac450ac..168d493 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -16,10 +16,11 @@
.scale=2, \
.target_fps=60, \
.pixel_perfect=true, \
+ .hd_render=false, \
+ .scale_linear=false, \
.show_cursor=false, \
.mixer=TZR_MIXER_ON, \
.png_loading=true, \
- .hd_render=false, \
.title="TZR", \
._=0, __VA_ARGS__ })
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index 55a0d1d..aa636f1 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -55,6 +55,7 @@ struct TZR_Config {
int target_fps;
bool pixel_perfect;
bool hd_render;
+ bool scale_linear;
bool show_cursor;
unsigned int mixer;
bool png_loading;