From 428f759ed57f93251b8adb1bcbee39a1db2e4cc9 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 31 May 2025 15:21:20 +0200 Subject: [PATCH] free votepatches also in ogl not just software --- src/y_inter.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/y_inter.c b/src/y_inter.c index ce2b3081c..cd495f8a9 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -870,11 +870,6 @@ static void Y_FollowIntermission(void) // static void Y_UnloadData(void) { - // In hardware mode, don't Z_ChangeTag a pointer returned by W_CachePatchName(). - // It doesn't work and is unnecessary. - if (rendermode != render_soft) - return; - // unload the background patches UNLOAD(VoteScreen.bgpatch); UNLOAD(VoteScreen.widebgpatch); @@ -1642,9 +1637,6 @@ static void Y_UnloadVoteData(void) { voteclient.loaded = false; - if (rendermode != render_soft) - return; - UNLOAD(VoteScreen.widebgpatch); UNLOAD(VoteScreen.bgpatch); UNLOAD(VoteScreen.cursor[0]);