aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-11-27 09:01:12 +0100
committerkdx <kikoodx@paranoici.org>2023-11-27 09:03:29 +0100
commit1da04b7ad7b404bf42e9e781100393f73cb59df0 (patch)
tree788813e6c16bfe498920f163b56b30401bac64e2 /headers
parent659c92f1b6eb6646334e66a4f1204157f5855faa (diff)
downloadtzr-1da04b7ad7b404bf42e9e781100393f73cb59df0.tar.gz
ratio setting
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR.h1
-rw-r--r--headers/TZR_types.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/headers/TZR.h b/headers/TZR.h
index b091233..7d55471 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -15,6 +15,7 @@
.height=224, \
.scale=1.0f, \
.target_fps=60, \
+ .ratio=1.0f, \
.pixel_perfect=true, \
.hd_render=false, \
.scale_linear=false, \
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index 105ac38..cd0baad 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -57,6 +57,7 @@ struct TZR_Config {
int height;
float scale;
int target_fps;
+ float ratio;
bool pixel_perfect;
bool hd_render;
bool scale_linear;