diff options
author | kdx <kikoodx@paranoici.org> | 2023-11-27 09:01:12 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-11-27 09:03:29 +0100 |
commit | 1da04b7ad7b404bf42e9e781100393f73cb59df0 (patch) | |
tree | 788813e6c16bfe498920f163b56b30401bac64e2 /headers | |
parent | 659c92f1b6eb6646334e66a4f1204157f5855faa (diff) | |
download | tzr-1da04b7ad7b404bf42e9e781100393f73cb59df0.tar.gz |
ratio setting
Diffstat (limited to 'headers')
-rw-r--r-- | headers/TZR.h | 1 | ||||
-rw-r--r-- | headers/TZR_types.h | 1 |
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; |