CreateImageTextures(texture_graphics[i]);
}
+void FreeAllTextures(void)
+{
+ FreeAllImageTextures();
+}
+
static int getFontSpecialSuffix(void)
{
int special = -1;
void InitGfxBuffers(void);
void InitGadgets(void);
void InitImageTextures(void);
+void FreeAllTextures(void);
boolean anyImagehasColorTemplate(void);
void InitColorTemplateImages(void);
video.fullscreen_enabled = !setup.fullscreen;
// when creating new renderer, destroy textures linked to old renderer
- FreeAllImageTextures(); // needs old renderer to free the textures
+ FreeAllTextures(); // needs old renderer to free the textures
// re-create screen and renderer (including change of vsync mode)
ChangeVideoModeIfNeeded(setup.fullscreen);
{
// Debug("tools:viewport", "init_video_buffer");
- FreeAllImageTextures(); // needs old renderer to free the textures
+ FreeAllTextures(); // needs old renderer to free the textures
InitVideoBuffer(WIN_XSIZE, WIN_YSIZE, DEFAULT_DEPTH, setup.fullscreen);
InitImageTextures();