aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2024-02-14 16:33:16 +0100
committerkdx <kikoodx@paranoici.org>2024-02-14 17:08:37 +0100
commite1dc054c0c558f403fabec7e2bddfa15c97bb896 (patch)
treede31a0c16acc3edbff68a302cda18b2a1b4476f5 /headers
parent345c1080b4e438f2d94f0bfad1cbc735ca1112ea (diff)
downloadtzr-e1dc054c0c558f403fabec7e2bddfa15c97bb896.tar.gz
gl mipmaps
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 2d9e7d4..3c6fbc4 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -28,6 +28,7 @@
.mixer=TZR_MIXER_ON, \
.basepath=NULL, \
.title="TZR", \
+ .mipmaps=true, \
._=0, __VA_ARGS__ }; \
_TZR_Init(&____arg); })
diff --git a/headers/TZR_globals.h b/headers/TZR_globals.h
index 6c4bd04..bb4da02 100644
--- a/headers/TZR_globals.h
+++ b/headers/TZR_globals.h
@@ -32,6 +32,7 @@ extern size_t ___tzr_joysticks_size;
extern SDL_BlendMode ___tzr_blendmode;
extern int ___tzr_camera_x;
extern int ___tzr_camera_y;
+extern SDL_GLContext ___tzr_gl_ctx;
#ifdef TZR_SOLOUD
extern Soloud ___tzr_soloud;
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index 06d9d41..012fa71 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -65,6 +65,7 @@ struct TZR_Config {
unsigned int mixer;
const char *basepath;
const char *title;
+ bool mipmaps;
};
struct TZR_Point {