mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-22 10:35:58 +01:00
csgo-vk-fix: fix oopsie ptr
This commit is contained in:
parent
3ec7ef6ad2
commit
9dcedb4387
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ void hkSurfaceDamage(wlr_surface* surface, pixman_region32_t* damage) {
|
||||||
}
|
}
|
||||||
|
|
||||||
CRegion hkWLSurfaceDamage(CWLSurface* thisptr) {
|
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();
|
static auto* const PCLASS = (Hyprlang::STRING const*)HyprlandAPI::getConfigValue(PHANDLE, "plugin:csgo-vulkan-fix:class")->getDataStaticPtr();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue