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

Author: Chad Versace <[email protected]>
Date:   Tue May 23 16:46:59 2017 -0700

i965: Document type of GLuint __DRIimage::format

It's either a mesa_format or mesa_array_format.

Reviewed-by: Tapani Pälli <[email protected]>

---

 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;
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to