Skip to content

Commit

Permalink
style: 🎨 apply clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlum authored and github-actions[bot] committed Mar 3, 2024
1 parent 77663d3 commit 48ce1dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/Shaders/Lighting.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,7 @@ PS_OUTPUT main(PS_INPUT input, bool frontFace
# if defined(SKIN)
psout.ScreenSpaceNormals.z = 1;
# elif defined(HAIR)
psout.ScreenSpaceNormals.z = 1 - psout.Albedo.w; // Exclude hair where possible
psout.ScreenSpaceNormals.z = 1 - psout.Albedo.w; // Exclude hair where possible
# endif
# endif

Expand Down
2 changes: 1 addition & 1 deletion src/Hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ namespace Hooks

logger::info("Hooking BSShaderRenderTargets::Create");
*(uintptr_t*)&ptr_BSShaderRenderTargets_Create = Detours::X64::DetourFunction(REL::RelocationID(100458, 107175).address(), (uintptr_t)&hk_BSShaderRenderTargets_Create);

logger::info("Hooking BSShaderRenderTargets::Create::CreateRenderTarget(s)");
bool marketplaceUpdate = REL::Module::get().version() >= SKSE::RUNTIME_SSE_1_6_1130;
stl::write_thunk_call<CreateRenderTarget_Main>(REL::RelocationID(100458, 107175).address() + REL::Relocate(0x3F0, marketplaceUpdate ? 0x3F3 : 0x200));
Expand Down

0 comments on commit 48ce1dc

Please sign in to comment.