csgo-vk-fix: chase hyprland

This commit is contained in:
Vaxry 2024-07-22 19:10:51 +02:00
parent 4bfa885feb
commit 03df2bceb9

View file

@ -108,7 +108,7 @@ APICALL EXPORT PLUGIN_DESCRIPTION_INFO PLUGIN_INIT(HANDLE handle) {
} }
success = success && g_pSurfaceSizeHook; success = success && g_pSurfaceSizeHook;
FNS = HyprlandAPI::findFunctionsByName(PHANDLE, "logicalDamage"); FNS = HyprlandAPI::findFunctionsByName(PHANDLE, "computeDamage");
for (auto& r : FNS) { for (auto& r : FNS) {
if (!r.demangled.contains("CWLSurface")) if (!r.demangled.contains("CWLSurface"))
continue; continue;