Skip to content

Instantly share code, notes, and snippets.

Avatar

Connor McLaughlin stenzek

  • Brisbane, Australia
View GitHub Profile
View 15-draw_cube.cpp
/*
* Vulkan Samples
*
* Copyright (C) 2015-2016 Valve Corporation
* Copyright (C) 2015-2016 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
View gist:09864f8fcb3d9261cd8b1970316f6249
diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp
index a18538e..04b6c70 100644
--- a/Source/Core/VideoBackends/D3D/Render.cpp
+++ b/Source/Core/VideoBackends/D3D/Render.cpp
@@ -880,7 +880,6 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight,
}
// Dump frames
- static int w = 0, h = 0;
if (SConfig::GetInstance().m_DumpFrames)