util: better comment for util_is_format_compatible()

This commit is contained in:
Brian Paul 2012-02-28 07:45:17 -07:00
parent 9b9c7da966
commit ce671c7ace
1 changed files with 3 additions and 2 deletions

View File

@ -578,8 +578,9 @@ boolean
util_format_is_pure_uint(enum pipe_format format);
/**
* Whether the src format can be blitted to destation format with a simple
* memcpy.
* Check if the src format can be blitted to the destination format with
* a simple memcpy. For example, blitting from RGBA to RGBx is OK, but not
* the reverse.
*/
boolean
util_is_format_compatible(const struct util_format_description *src_desc,