From e9472cbcb68a8d21e55ca7a8e25365e92b019a79 Mon Sep 17 00:00:00 2001 From: quou Date: Mon, 17 Mar 2025 21:25:44 +1100 Subject: Shader_Vk::find_optは、今いいです MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video.cpp') diff --git a/video.cpp b/video.cpp index b4c5897..51cba9e 100644 --- a/video.cpp +++ b/video.cpp @@ -3996,7 +3996,7 @@ int Shader_Vk::find_opt( Shader_Type type, const char* name ) { - int count = module_count[type], i; + int count = opt_count, i; int bucket = (int)( hash_string(name) % count -- cgit v1.2.3-54-g00ecf