diff --git a/CustomResolution2782/GameSizeState.cs b/CustomResolution2782/GameSizeState.cs index 6c0c52e..f3b259a 100644 --- a/CustomResolution2782/GameSizeState.cs +++ b/CustomResolution2782/GameSizeState.cs @@ -277,13 +277,6 @@ RR {dev->RequestRender} 0x{(long) dev->ImmediateContext->IfNonZeroSkipPostTickPr private void ICDX11ProcessCommandsDetour(ImmediateContext* ctx, RenderCommandBufferGroup* cmds, uint count) { - ref var cfg = ref Service.Config._.Game; - if (Service.Plugin.Unloading || !cfg.IsEnabled) - { - _icdx11ProcessCommandsHook.OriginalDisposeSafe(ctx, cmds, count); - return; - } - lock (_renderLock) { _icdx11ProcessCommandsHook.OriginalDisposeSafe(ctx, cmds, count);