From 9dcedb4387a5ae4d0b536597958fd27785446eb0 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 2 Mar 2024 17:15:35 +0000 Subject: [PATCH] csgo-vk-fix: fix oopsie ptr --- csgo-vulkan-fix/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csgo-vulkan-fix/main.cpp b/csgo-vulkan-fix/main.cpp index 86ba9a4..6db58bd 100644 --- a/csgo-vulkan-fix/main.cpp +++ b/csgo-vulkan-fix/main.cpp @@ -77,7 +77,7 @@ void hkSurfaceDamage(wlr_surface* surface, pixman_region32_t* damage) { } CRegion hkWLSurfaceDamage(CWLSurface* thisptr) { - const auto RG = (*(origWLSurfaceDamage)g_pSurfaceDamageHook->m_pOriginal)(thisptr); + const auto RG = (*(origWLSurfaceDamage)g_pWLSurfaceDamageHook->m_pOriginal)(thisptr); static auto* const PCLASS = (Hyprlang::STRING const*)HyprlandAPI::getConfigValue(PHANDLE, "plugin:csgo-vulkan-fix:class")->getDataStaticPtr(); @@ -131,4 +131,4 @@ APICALL EXPORT PLUGIN_DESCRIPTION_INFO PLUGIN_INIT(HANDLE handle) { APICALL EXPORT void PLUGIN_EXIT() { ; -} \ No newline at end of file +}