VertexShaderManager: Make ProjectionHack private

There's no reason to make this public, and it prevents a build
issue with the next commit.
This commit is contained in:
Jasper St. Pierre 2013-07-21 17:51:41 -04:00
parent 3b29320113
commit 4981b7cdd3
2 changed files with 9 additions and 9 deletions

View File

@ -63,6 +63,15 @@ inline void SetMultiVSConstant4fv(unsigned int const_number, unsigned int count,
g_renderer->SetMultiVSConstant4fv(const_number, count, f); 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 namespace
{ {
// Control Variables // Control Variables

View File

@ -9,15 +9,6 @@
class PointerWrap; 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 UpdateProjectionHack(int iParams[], std::string sParams[]);
void UpdateViewportWithCorrection(); void UpdateViewportWithCorrection();