summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian <brian@cvp965.(none)>2009-11-10 15:33:31 -0700
committerbrian <brian@cvp965.(none)>2009-11-10 18:09:12 -0700
commita492ab765a9e36c5f224f0d58e172ca6ecf25a1c (patch)
tree8a0a8085fc95c2405078a1610688a1b398c918c3
parent4c54f8e9aa0aae570c21c57427fb51c70517e0a9 (diff)
mesa: added comment for check_begin_texture_render()
-rw-r--r--src/mesa/main/fbobject.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index c4454550db..2641123857 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -1149,6 +1149,11 @@ _mesa_IsFramebufferEXT(GLuint framebuffer)
}
+/**
+ * Check if any of the attachments of the given framebuffer are textures
+ * (render to texture). Call ctx->Driver.RenderTexture() for such
+ * attachments.
+ */
static void
check_begin_texture_render(GLcontext *ctx, struct gl_framebuffer *fb)
{