aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-10-22 21:26:11 +0200
committerkdx <kikoodx@paranoici.org>2023-10-22 21:26:11 +0200
commit7bac5474e14d7e95fbc6be096e14a9b37f363749 (patch)
tree4696926f2204f382f805967a6fccb5557534f577 /headers
parentae4af8c1f825d904eaea3be5cdf02e097e30a30f (diff)
downloadtzr-7bac5474e14d7e95fbc6be096e14a9b37f363749.tar.gz
float scale
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR.h2
-rw-r--r--headers/TZR_types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/headers/TZR.h b/headers/TZR.h
index 7cefb64..b091233 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -13,7 +13,7 @@
#define TZR_Init(...) ({ const TZR_Config ____arg = { \
.width=256, \
.height=224, \
- .scale=2, \
+ .scale=1.0f, \
.target_fps=60, \
.pixel_perfect=true, \
.hd_render=false, \
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index f796930..6261799 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -53,7 +53,7 @@ struct TZR_Config {
int _;
int width;
int height;
- int scale;
+ float scale;
int target_fps;
bool pixel_perfect;
bool hd_render;