diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-01-24 16:39:01 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-01-24 16:39:01 -0600 |
| commit | bf0293231f4f87f1678cc4033dada67413e505b4 (patch) | |
| tree | 5d3769403b538886fa29a2f50631e5098cf22790 /Source/Core/VideoCommon/VertexShaderManager.cpp | |
| parent | 195c7e6ab155aceed59e7112caebcb9f896c120e (diff) | |
| parent | 9cdfe889af54303dbeef305a26d13d4285ef1b5d (diff) | |
Merge pull request #1957 from lioncash/cs
Coding style cleanup from the zfreeze merge
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp index 92c1fffa34..3f3af37210 100644 --- a/Source/Core/VideoCommon/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/VertexShaderManager.cpp @@ -690,13 +690,13 @@ void VertexShaderManager::ResetView() bProjectionChanged = true; } -void VertexShaderManager::TransformToClipSpace(const float* data, float *out, u32 MtxIdx) +void VertexShaderManager::TransformToClipSpace(const float* data, float* out, u32 MtxIdx) { - const float *world_matrix = (const float *)xfmem.posMatrices + (MtxIdx & 0x3f) * 4; + const float* world_matrix = (const float*)xfmem.posMatrices + (MtxIdx & 0x3f) * 4; // We use the projection matrix calculated by vertexShaderManager, because it // includes any free look transformations. // Make sure VertexManager::SetConstants() has been called first. - const float *proj_matrix = &g_fProjectionMatrix[0]; + const float* proj_matrix = &g_fProjectionMatrix[0]; float t[3]; t[0] = data[0] * world_matrix[0] + data[1] * world_matrix[1] + data[2] * world_matrix[2] + world_matrix[3]; |
