OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba367f6
)
intel: remove unused intel_rendering_to_texture()
author
Brian Paul
<brianp@vmware.com>
Thu, 29 Jan 2009 18:07:55 +0000
(11:07 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 29 Jan 2009 18:07:55 +0000
(11:07 -0700)
src/mesa/drivers/dri/intel/intel_fbo.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_fbo.h
b/src/mesa/drivers/dri/intel/intel_fbo.h
index
41ced2a
..
4c89a48
100644
(file)
--- 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 */