csgo-vk-fix: fix oopsie ptr

This commit is contained in:
Vaxry 2024-03-02 17:15:35 +00:00
parent 3ec7ef6ad2
commit 9dcedb4387

View file

@ -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() {
;
}
}