summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2013-04-25 01:41:45 +1200
committerMatthew Parlane <parlane@gmail.com>2013-04-25 01:41:45 +1200
commitc3dbbe011d4d9e06d6b4badc6e42e830b35fabd2 (patch)
treebb57013c56f8e4336d3a81cb28608f663f678fe8 /Source/Core/VideoCommon/Src/VertexManagerBase.cpp
parente98069b647029417abf6b26d7bd30e0c3ea77863 (diff)
parent62ebfa0a78f2cbb8d40d2ae974ee9d404ddf6721 (diff)
Merge branch 'master' into wii-network
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexManagerBase.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VertexManagerBase.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
index 567621964f..13fbd55641 100644
--- a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
+++ b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
@@ -35,7 +35,8 @@ VertexManager::VertexManager()
}
VertexManager::~VertexManager()
-{}
+{
+}
void VertexManager::ResetBuffer()
{
@@ -75,7 +76,8 @@ bool VertexManager::IsFlushed() const
u32 VertexManager::GetRemainingIndices(int primitive)
{
- if(g_Config.backend_info.bSupportsPrimitiveRestart) {
+ if(g_Config.backend_info.bSupportsPrimitiveRestart)
+ {
switch (primitive)
{
case GX_DRAW_QUADS:
@@ -98,7 +100,9 @@ u32 VertexManager::GetRemainingIndices(int primitive)
default:
return 0;
}
- } else {
+ }
+ else
+ {
switch (primitive)
{
case GX_DRAW_QUADS:
@@ -216,7 +220,9 @@ void VertexManager::Flush()
PixelShaderManager::SetTexDims(i, tentry->nativeW, tentry->nativeH, 0, 0);
}
else
+ {
ERROR_LOG(VIDEO, "Error loading texture");
+ }
}
}