summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/VertexManager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-10-26 04:53:22 -0400
committerLioncash <mathew1800@gmail.com>2014-10-26 04:54:58 -0400
commit49b94e52858e5869ea2872ed75810ba075cfa0eb (patch)
tree39f2911237486cd32287ea2b528710e5997ee22c /Source/Core/VideoBackends/OGL/VertexManager.cpp
parentf895648eb95369e2d302ba93cc4354d3880a7337 (diff)
OGL: Get rid of error macros
Diffstat (limited to 'Source/Core/VideoBackends/OGL/VertexManager.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/VertexManager.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Core/VideoBackends/OGL/VertexManager.cpp b/Source/Core/VideoBackends/OGL/VertexManager.cpp
index 325d018e91..0fbcefa83f 100644
--- a/Source/Core/VideoBackends/OGL/VertexManager.cpp
+++ b/Source/Core/VideoBackends/OGL/VertexManager.cpp
@@ -63,14 +63,11 @@ void VertexManager::CreateDeviceObjects()
void VertexManager::DestroyDeviceObjects()
{
- GL_REPORT_ERRORD();
glBindBuffer(GL_ARRAY_BUFFER, 0 );
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0 );
- GL_REPORT_ERROR();
delete s_vertexBuffer;
delete s_indexBuffer;
- GL_REPORT_ERROR();
}
void VertexManager::PrepareDrawBuffers(u32 stride)
@@ -140,7 +137,6 @@ void VertexManager::vFlush(bool useDstAlpha)
}
PrepareDrawBuffers(stride);
- GL_REPORT_ERRORD();
// Makes sure we can actually do Dual source blending
bool dualSourcePossible = g_ActiveConfig.backend_info.bSupportsDualSourceBlend;
@@ -161,7 +157,6 @@ void VertexManager::vFlush(bool useDstAlpha)
// setup the pointers
nativeVertexFmt->SetupVertexPointers();
- GL_REPORT_ERRORD();
Draw(stride);
@@ -214,8 +209,6 @@ void VertexManager::vFlush(bool useDstAlpha)
g_Config.iSaveTargetId++;
ClearEFBCache();
-
- GL_REPORT_ERRORD();
}