From d3e5cbffbad67766b0b559f631b68da22d80d44d Mon Sep 17 00:00:00 2001
From: colette <red@lyrawearspants.com>
Date: Wed, 12 Feb 2020 08:54:20 -0500
Subject: [PATCH] comment

---
 src/lua_hudlib.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lua_hudlib.c b/src/lua_hudlib.c
index b58a822990..6e3c1181d1 100644
--- a/src/lua_hudlib.c
+++ b/src/lua_hudlib.c
@@ -268,8 +268,7 @@ static int patch_get(lua_State *L)
 #endif
 	enum patch field = luaL_checkoption(L, 2, NULL, patch_opt);
 
-	// patches are CURRENTLY always valid, expected to be cached with PU_STATIC
-	// this may change in the future, so patch.valid still exists
+	// patches are invalidated when switching renderers
 	if (!patch) {
 		if (field == patch_valid) {
 			lua_pushboolean(L, 0);
-- 
GitLab