[Mesa-dev] [PATCH 7/9] i965: Document type of GLuint __DRIimage::format

Chad Versace chadversary at chromium.org
Fri May 26 22:15:12 UTC 2017


It's either a mesa_format or mesa_array_format.
---
 src/mesa/drivers/dri/i965/intel_image.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/intel_image.h b/src/mesa/drivers/dri/i965/intel_image.h
index ad426910e4..cf0610540f 100644
--- a/src/mesa/drivers/dri/i965/intel_image.h
+++ b/src/mesa/drivers/dri/i965/intel_image.h
@@ -70,7 +70,7 @@ struct __DRIimageRec {
    uint32_t pitch; /**< in bytes */
    GLenum internal_format;
    uint32_t dri_format;
-   GLuint format;
+   GLuint format; /**< mesa_format or mesa_array_format */
    uint64_t modifier; /**< fb modifier (fourcc) */
    uint32_t offset;
 
-- 
2.13.0



More information about the mesa-dev mailing list