diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-10 22:01:42 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-10 22:28:18 -0400 |
| commit | bcd10bfda657d6af2d43c22de20b1d924e482b98 (patch) | |
| tree | 48e21352ca14869947a3cc74996b871e0949a31a /Source/Core/VideoBackends/Software/SWRenderer.cpp | |
| parent | f9f46f33d6a12f5e57e0c0a4b6d66ed3c22952e1 (diff) | |
Software: Fix function casing in SWRenderer
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWRenderer.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWRenderer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Software/SWRenderer.cpp b/Source/Core/VideoBackends/Software/SWRenderer.cpp index e098c5a2f4..e8d2477f4c 100644 --- a/Source/Core/VideoBackends/Software/SWRenderer.cpp +++ b/Source/Core/VideoBackends/Software/SWRenderer.cpp @@ -153,17 +153,17 @@ void SWRenderer::DrawDebugText() SWRenderer::RenderText(debugtext.c_str(), 20, 20, 0xFFFFFF00); } -u8* SWRenderer::getNextColorTexture() +u8* SWRenderer::GetNextColorTexture() { return s_xfbColorTexture[!s_currentColorTexture]; } -u8* SWRenderer::getCurrentColorTexture() +u8* SWRenderer::GetCurrentColorTexture() { return s_xfbColorTexture[s_currentColorTexture]; } -void SWRenderer::swapColorTexture() +void SWRenderer::SwapColorTexture() { s_currentColorTexture = !s_currentColorTexture; } @@ -177,7 +177,7 @@ void SWRenderer::UpdateColorTexture(EfbInterface::yuv422_packed *xfb, u32 fbWidt } u32 offset = 0; - u8 *TexturePointer = getNextColorTexture(); + u8 *TexturePointer = GetNextColorTexture(); for (u16 y = 0; y < fbHeight; y++) { @@ -203,7 +203,7 @@ void SWRenderer::UpdateColorTexture(EfbInterface::yuv422_packed *xfb, u32 fbWidt } xfb += fbWidth; } - swapColorTexture(); + SwapColorTexture(); } // Called on the GPU thread @@ -211,7 +211,7 @@ void SWRenderer::Swap(u32 fbWidth, u32 fbHeight) { GLInterface->Update(); // just updates the render window position and the backbuffer size if (!g_SWVideoConfig.bHwRasterizer) - SWRenderer::DrawTexture(getCurrentColorTexture(), fbWidth, fbHeight); + SWRenderer::DrawTexture(GetCurrentColorTexture(), fbWidth, fbHeight); swstats.frameCount++; SWRenderer::SwapBuffer(); |
