aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-11-29 11:24:04 +0100
committerkdx <kikoodx@paranoici.org>2023-11-29 11:24:04 +0100
commitb5927ba9a22dd256603b81d452fdb3cfaf0dc2ba (patch)
tree09e4fb4cd34393523ceccc7dd719881aadebdd1d /headers
parent1da04b7ad7b404bf42e9e781100393f73cb59df0 (diff)
downloadtzr-b5927ba9a22dd256603b81d452fdb3cfaf0dc2ba.tar.gz
interlace effect
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR.h1
-rw-r--r--headers/TZR_globals.h1
-rw-r--r--headers/TZR_types.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/headers/TZR.h b/headers/TZR.h
index 7d55471..17129c8 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -17,6 +17,7 @@
.target_fps=60, \
.ratio=1.0f, \
.pixel_perfect=true, \
+ .interlace=false, \
.hd_render=false, \
.scale_linear=false, \
.show_cursor=false, \
diff --git a/headers/TZR_globals.h b/headers/TZR_globals.h
index 208ad0b..6c4bd04 100644
--- a/headers/TZR_globals.h
+++ b/headers/TZR_globals.h
@@ -12,6 +12,7 @@ extern size_t ___tzr_resources_size;
extern SDL_Window *___tzr_window;
extern SDL_Renderer *___tzr_renderer;
extern SDL_Texture *___tzr_target;
+extern SDL_Texture *___tzr_target_pre;
extern unsigned long ___tzr_tick;
extern unsigned long ___tzr_next_time;
extern unsigned long ___tzr_min_dt;
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index cd0baad..e7d13fc 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -59,6 +59,7 @@ struct TZR_Config {
int target_fps;
float ratio;
bool pixel_perfect;
+ bool interlace;
bool hd_render;
bool scale_linear;
bool show_cursor;