mesa: Add comment to framebuffer_parameteri()
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Wed, 17 Feb 2016 08:15:49 +0000 (19:15 +1100)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Apr 2016 01:55:33 +0000 (11:55 +1000)
V.2:
 Change 'N.B.,' to 'NOTE:'.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/fbobject.c

index bb8d4c3112b5a751a03f173f9350f335384246fb..c81f5a083ebfd03083ceb7bc0f17c69d5584ff19 100644 (file)
@@ -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)