aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLNoOpInterface.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-02-27 17:10:02 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-27 17:10:02 -0800
commit0b70b86a7e9fda52ee7ebc1b9897eeaa09b9abef (patch)
tree51cf7413125989b2f226dfb6c4f2f6fe9bd5ff12 /src/gpu/gl/GrGLNoOpInterface.cpp
parentbb8bca36b7eb8015f40e6ce2cfa229b673b19a34 (diff)
Improve tracking of bound FBOs in GrGLGpu.
Diffstat (limited to 'src/gpu/gl/GrGLNoOpInterface.cpp')
-rw-r--r--src/gpu/gl/GrGLNoOpInterface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLNoOpInterface.cpp b/src/gpu/gl/GrGLNoOpInterface.cpp
index 6b8880ed81..38ad65e5c1 100644
--- a/src/gpu/gl/GrGLNoOpInterface.cpp
+++ b/src/gpu/gl/GrGLNoOpInterface.cpp
@@ -440,7 +440,8 @@ GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocationIndexed(GrGLuint program,
GrGLenum GR_GL_FUNCTION_TYPE noOpGLCheckFramebufferStatus(GrGLenum target) {
- GrAlwaysAssert(GR_GL_FRAMEBUFFER == target);
+ GrAlwaysAssert(GR_GL_FRAMEBUFFER == target || GR_GL_READ_FRAMEBUFFER == target ||
+ GR_GL_DRAW_FRAMEBUFFER == target);
return GR_GL_FRAMEBUFFER_COMPLETE;
}