Skip to content

Commit

Permalink
Remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Feb 27, 2024
1 parent bf6e57c commit dafdd13
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mods/vr/FFakeStereoRenderingHook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2408,8 +2408,6 @@ struct SceneViewExtensionAnalyzer {
const auto func = (decltype(hooked_command_fn<N>)*)original_func;
const auto frame_count = cmd_frame_counts[cmd];

static bool once2 = true;

if (once) {
SPDLOG_INFO("[ISceneViewExtension] Command list frame count: {}", frame_count);
SPDLOG_INFO("[ISceneViewExtension] Original vtable: {:x}", (uintptr_t)original_vtable);
Expand All @@ -2418,7 +2416,7 @@ struct SceneViewExtensionAnalyzer {

if (!found_correct_execute && !tested_execute_indices.contains(N) && VR::get()->get_present_thread_id() != 0) {
tested_execute_indices.insert(N);

// N == 0 is a pretty safe heuristic
// Otherwise if >= 1 gets called first, we can assume if the thread is the same
// as the DXGI present thread, then it's the correct execute function
Expand Down

0 comments on commit dafdd13

Please sign in to comment.