Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
VertexShaderManager: Make ProjectionHack private
There's no reason to make this public, and it prevents a build
issue with the next commit.
  • Loading branch information
magcius committed Jul 21, 2013
1 parent 3b29320 commit 4981b7c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 9 additions & 0 deletions Source/Core/VideoCommon/Src/VertexShaderManager.cpp
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions Source/Core/VideoCommon/Src/VertexShaderManager.h
Expand Up @@ -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();
Expand Down

0 comments on commit 4981b7c

Please sign in to comment.