diff --git a/src/Hooks.cpp b/src/Hooks.cpp index d77d0a6107..7e1f749ebb 100644 --- a/src/Hooks.cpp +++ b/src/Hooks.cpp @@ -752,7 +752,7 @@ namespace Hooks logger::info("Hooking BSEffectShader"); stl::write_vfunc<0x6, EffectExtensions::BSEffectShader_SetupGeometry>(RE::VTABLE_BSEffectShader[0]); - { + if (!REL::Module::IsVR()) { const auto renderPassCacheCtor = REL::VariantID(100720, 107500, 0x1340330); const int32_t passCount = 4194240; const int32_t passCountSE = 4194240 * 16;