mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
intel: remove unused intel_rendering_to_texture()
This commit is contained in:
parent
ba367f68cc
commit
818bda3d74
1 changed files with 0 additions and 18 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue