diff --git a/src/Features/LightLimitFix.h b/src/Features/LightLimitFix.h index 7bf979df9..140f43e23 100644 --- a/src/Features/LightLimitFix.h +++ b/src/Features/LightLimitFix.h @@ -7,9 +7,9 @@ #include #include "Feature.h" +#include "Raytracing.h" #include "ShaderCache.h" #include -#include "Raytracing.h" struct LightLimitFix : Feature { diff --git a/src/Raytracing.cpp b/src/Raytracing.cpp index 2ce0b2d63..29ef8f918 100644 --- a/src/Raytracing.cpp +++ b/src/Raytracing.cpp @@ -80,8 +80,7 @@ void Raytracing::UpdateGeometry(RE::BSGeometry* a_geometry) void Raytracing::RemoveGeometry(RE::BSGeometry* a_geometry) { - if (geometries.erase(a_geometry)) - { + if (geometries.erase(a_geometry)) { // Remove Event } } diff --git a/src/Raytracing.h b/src/Raytracing.h index 55ecc3e0d..464663a54 100644 --- a/src/Raytracing.h +++ b/src/Raytracing.h @@ -1,7 +1,7 @@ #pragma once -#include #include +#include #include @@ -70,7 +70,7 @@ class Raytracing { stl::write_vfunc<0x6, BSLightingShader_SetupGeometry>(RE::VTABLE_BSLightingShader[0]); - // stl::detour_thunk(REL::RelocationID(68937, 70288)); + // stl::detour_thunk(REL::RelocationID(68937, 70288)); logger::info("[Raytracing] Installed hooks"); } diff --git a/src/XSEPlugin.cpp b/src/XSEPlugin.cpp index 02afee654..f0da0b1f3 100644 --- a/src/XSEPlugin.cpp +++ b/src/XSEPlugin.cpp @@ -4,11 +4,11 @@ #include "Feature.h" #include "FrameAnnotations.h" #include "Menu.h" +#include "Raytracing.h" #include "ShaderCache.h" #include "State.h" #include "TruePBR.h" #include "Upscaling.h" -#include "Raytracing.h" #include "ENB/ENBSeriesAPI.h"