Mesa (master): mesa: Add comment to framebuffer_parameteri()

Dave Airlie airlied at kemper.freedesktop.org
Thu Apr 7 02:05:34 UTC 2016


Module: Mesa
Branch: master
Commit: b40375a21cd8c0336aa9c3fcbabe02c27f9d1471
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b40375a21cd8c0336aa9c3fcbabe02c27f9d1471

Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Wed Feb 17 19:15:49 2016 +1100

mesa: Add comment to framebuffer_parameteri()

V.2:
 Change 'N.B.,' to 'NOTE:'.

Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/mesa/main/fbobject.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index bb8d4c3..c81f5a0 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -1369,6 +1369,11 @@ _mesa_BindRenderbufferEXT(GLenum target, GLuint renderbuffer)
    bind_renderbuffer(target, renderbuffer, true);
 }
 
+/**
+ * ARB_framebuffer_no_attachment - Application passes requested param's
+ * here. NOTE: NumSamples requested need not be _NumSamples which is
+ * what the hw supports.
+ */
 static void
 framebuffer_parameteri(struct gl_context *ctx, struct gl_framebuffer *fb,
                        GLenum pname, GLint param, const char *func)




More information about the mesa-commit mailing list