| Index: src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
|
| diff --git a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
|
| index 4bd8f99e2263ee57415ee1a92b30943ad5d86c3d..b38eb23a11db396544363818b8e6cb715329e240 100644
|
| --- a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
|
| +++ b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
|
| @@ -61,7 +61,8 @@ GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindTexture(GrGLenum target,
|
| GrGLuint textureID) {
|
|
|
| // we don't use cube maps
|
| - GrAlwaysAssert(target == GR_GL_TEXTURE_2D);
|
| + GrAlwaysAssert(target == GR_GL_TEXTURE_2D ||
|
| + target == GR_GL_TEXTURE_3D);
|
| // || target == GR_GL_TEXTURE_CUBE_MAP);
|
|
|
| // a textureID of 0 is acceptable - it binds to the default texture target
|
| @@ -922,9 +923,11 @@ const GrGLInterface* GrGLCreateDebugInterface() {
|
| functions->fStencilOp = noOpGLStencilOp;
|
| functions->fStencilOpSeparate = noOpGLStencilOpSeparate;
|
| functions->fTexImage2D = noOpGLTexImage2D;
|
| + functions->fTexImage3D = noOpGLTexImage3D;
|
| functions->fTexParameteri = noOpGLTexParameteri;
|
| functions->fTexParameteriv = noOpGLTexParameteriv;
|
| functions->fTexSubImage2D = noOpGLTexSubImage2D;
|
| + functions->fTexSubImage3D = noOpGLTexSubImage3D;
|
| functions->fTexStorage2D = noOpGLTexStorage2D;
|
| functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer;
|
| functions->fUniform1f = noOpGLUniform1f;
|
|
|