diff options
author | Brian Paul <[email protected]> | 2010-02-24 08:13:55 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-24 08:14:33 -0700 |
commit | 78f72d73ee37c1a269f010e492631503a7fc35b2 (patch) | |
tree | 877d9419b93b72cf6672fa860df9c30c795e57a2 /src | |
parent | 573a8002d540eebf6a39733ba8cdba1569eeab82 (diff) |
mesa: disable unreachable meta mipmap gen code
More work is needed to support 3D mipmap generation. Disable unreachable
code until then.
See bug 26722.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/common/meta.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 42ab7d4ed60..8e229bbe388 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -2131,12 +2131,15 @@ _mesa_meta_check_generate_mipmap_fallback(GLcontext *ctx, GLenum target, GL_COLOR_ATTACHMENT0_EXT, target, texObj->Name, srcLevel); } +#if 0 + /* other work is needed to enable 3D mipmap generation */ else if (target == GL_TEXTURE_3D) { GLint zoffset = 0; _mesa_FramebufferTexture3DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, target, texObj->Name, srcLevel, zoffset); } +#endif else { /* 2D / cube */ _mesa_FramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, |