Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe
This commit is contained in:
@@ -217,7 +217,6 @@ CanvasLayerOGL::RenderLayer(int aPreviousDestination,
|
||||
|
||||
gl()->MakeCurrent();
|
||||
gl()->BindTex2DOffscreen(mCanvasGLContext);
|
||||
DEBUG_GL_ERROR_CHECK(gl());
|
||||
program = mOGLManager->GetBasicLayerProgram(CanUseOpaqueSurface(), PR_TRUE);
|
||||
} else if (mDelayedUpdates) {
|
||||
NS_ABORT_IF_FALSE(mCanvasSurface, "WebGL canvases should always be using full texture upload");
|
||||
@@ -246,8 +245,6 @@ CanvasLayerOGL::RenderLayer(int aPreviousDestination,
|
||||
|
||||
mOGLManager->BindAndDrawQuad(program, mNeedsYFlip ? true : false);
|
||||
|
||||
DEBUG_GL_ERROR_CHECK(gl());
|
||||
|
||||
if (useGLContext) {
|
||||
gl()->UnbindTex2DOffscreen(mCanvasGLContext);
|
||||
}
|
||||
@@ -344,8 +341,6 @@ ShadowCanvasLayerOGL::RenderLayer(int aPreviousFrameBuffer,
|
||||
program->SetTextureUnit(0);
|
||||
|
||||
mOGLManager->BindAndDrawQuad(program);
|
||||
|
||||
DEBUG_GL_ERROR_CHECK(gl());
|
||||
}
|
||||
|
||||
#endif // MOZ_IPC
|
||||
|
||||
Reference in New Issue
Block a user