Commit 72e27b02 by Yuly Novikov Committed by Commit Bot

Fix error logging in ValidateBlitFramebufferANGLE

Bundle an error message about whole buffer copies inside gl::Error instead of delivering it to the Platform. BUG=angleproject:1660 Change-Id: I13205b74529fbe40af05e7c1896c6315486e90e0 Reviewed-on: https://chromium-review.googlesource.com/437628 Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 66a0819c
...@@ -1910,9 +1910,9 @@ bool ValidateBlitFramebufferANGLE(Context *context, ...@@ -1910,9 +1910,9 @@ bool ValidateBlitFramebufferANGLE(Context *context,
dstX0, dstY0, dstX1, dstY1)) dstX0, dstY0, dstX1, dstY1))
{ {
// only whole-buffer copies are permitted // only whole-buffer copies are permitted
ERR() << "Only whole-buffer depth and stencil blits are supported by this " context->handleError(Error(GL_INVALID_OPERATION,
"implementation."; "Only whole-buffer depth and stencil blits are "
context->handleError(Error(GL_INVALID_OPERATION)); "supported by this extension."));
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment