diff options
author | bsalomon <bsalomon@google.com> | 2015-02-27 17:10:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-27 17:10:02 -0800 |
commit | 0b70b86a7e9fda52ee7ebc1b9897eeaa09b9abef (patch) | |
tree | 51cf7413125989b2f226dfb6c4f2f6fe9bd5ff12 /src/gpu/gl/GrGLNoOpInterface.cpp | |
parent | bb8bca36b7eb8015f40e6ce2cfa229b673b19a34 (diff) |
Improve tracking of bound FBOs in GrGLGpu.
Committed: https://skia.googlesource.com/skia/+/d2ad8eb5801e2c8c0fa544a6a776bb46eedde2a0
Committed: https://skia.googlesource.com/skia/+/b2af2d8b83ca4774c3b3bb1e49bc72605faa9589
Review URL: https://codereview.chromium.org/949263002
Diffstat (limited to 'src/gpu/gl/GrGLNoOpInterface.cpp')
-rw-r--r-- | src/gpu/gl/GrGLNoOpInterface.cpp | 3 |
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; } |