OSDN Git Service

mesa: add comment for _mesa_get_srgb_format_linear()
authorBrian Paul <brianp@vmware.com>
Sun, 16 Jan 2011 03:41:06 +0000 (20:41 -0700)
committerBrian Paul <brianp@vmware.com>
Sun, 16 Jan 2011 03:41:06 +0000 (20:41 -0700)
src/mesa/main/formats.c

index 3ccc40b..b8fed18 100644 (file)
@@ -1090,6 +1090,11 @@ _mesa_get_format_color_encoding(gl_format format)
    }
 }
 
+
+/**
+ * For an sRGB format, return the corresponding linear color space format.
+ * For non-sRGB formats, return the format as-is.
+ */
 gl_format
 _mesa_get_srgb_format_linear(gl_format format)
 {