diff options
author | Brian Paul <[email protected]> | 2009-01-29 11:07:55 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-29 11:07:55 -0700 |
commit | 818bda3d7428469d7c29ebc08c31c30a877747e1 (patch) | |
tree | 5f4e8882cbb6df1be17d663c67f6c7b8294f1024 | |
parent | ba367f68ccacf255f78ac0c8dd066e64bbb1e5c2 (diff) |
intel: remove unused intel_rendering_to_texture()
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h index 41ced2a01a5..4c89a48850e 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.h +++ b/src/mesa/drivers/dri/intel/intel_fbo.h @@ -138,22 +138,4 @@ intel_get_rb_region(struct gl_framebuffer *fb, GLuint attIndex) } -/** - * Are we currently rendering into a texture? - */ -static INLINE GLboolean -intel_rendering_to_texture(const GLcontext *ctx) -{ - if (ctx->DrawBuffer->Name) { - /* User-created FBO */ - const struct intel_renderbuffer *irb = - intel_renderbuffer(ctx->DrawBuffer->_ColorDrawBuffers[0]); - return irb && irb->RenderToTexture; - } - else { - return GL_FALSE; - } -} - - #endif /* INTEL_FBO_H */ |