Skip to content

Commit

Permalink
csgo-vk-fix: fix oopsie ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Mar 2, 2024
1 parent 3ec7ef6 commit 9dcedb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csgo-vulkan-fix/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -131,4 +131,4 @@ APICALL EXPORT PLUGIN_DESCRIPTION_INFO PLUGIN_INIT(HANDLE handle) {

APICALL EXPORT void PLUGIN_EXIT() {
;
}
}

0 comments on commit 9dcedb4

Please sign in to comment.