Update debug GL backend to match r8633
git-svn-id: http://skia.googlecode.com/svn/trunk@8637 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
3f17828089
commit
31975cf8f5
@ -202,7 +202,9 @@ GrGLvoid GR_GL_FUNCTION_TYPE debugGLReadPixels(GrGLint x,
|
||||
GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindFramebuffer(GrGLenum target,
|
||||
GrGLuint frameBufferID) {
|
||||
|
||||
GrAlwaysAssert(GR_GL_FRAMEBUFFER == target);
|
||||
GrAlwaysAssert(GR_GL_FRAMEBUFFER == target ||
|
||||
GR_GL_READ_FRAMEBUFFER == target ||
|
||||
GR_GL_DRAW_FRAMEBUFFER);
|
||||
|
||||
// a frameBufferID of 0 is acceptable - it binds to the default
|
||||
// frame buffer
|
||||
|
Loading…
Reference in New Issue
Block a user