From 4981b7cdd3e37f1f5846e4f94e2ed1a9538d18e5 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 21 Jul 2013 17:51:41 -0400 Subject: [PATCH] VertexShaderManager: Make ProjectionHack private There's no reason to make this public, and it prevents a build issue with the next commit. --- Source/Core/VideoCommon/Src/VertexShaderManager.cpp | 9 +++++++++ Source/Core/VideoCommon/Src/VertexShaderManager.h | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp index 75e6735577..ee9fde97f6 100644 --- a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp @@ -63,6 +63,15 @@ inline void SetMultiVSConstant4fv(unsigned int const_number, unsigned int count, g_renderer->SetMultiVSConstant4fv(const_number, count, f); } +struct ProjectionHack +{ + float sign; + float value; + ProjectionHack() { } + ProjectionHack(float new_sign, float new_value) + : sign(new_sign), value(new_value) {} +}; + namespace { // Control Variables diff --git a/Source/Core/VideoCommon/Src/VertexShaderManager.h b/Source/Core/VideoCommon/Src/VertexShaderManager.h index c357b36e61..8a87f7644f 100644 --- a/Source/Core/VideoCommon/Src/VertexShaderManager.h +++ b/Source/Core/VideoCommon/Src/VertexShaderManager.h @@ -9,15 +9,6 @@ class PointerWrap; -struct ProjectionHack -{ - float sign; - float value; - ProjectionHack() { } - ProjectionHack(float new_sign, float new_value) - : sign(new_sign), value(new_value) {} -}; - void UpdateProjectionHack(int iParams[], std::string sParams[]); void UpdateViewportWithCorrection();