i965: Document type of GLuint __DRIimage::format
authorChad Versace <chadversary@chromium.org>
Tue, 23 May 2017 23:46:59 +0000 (16:46 -0700)
committerChad Versace <chadversary@chromium.org>
Tue, 30 May 2017 19:01:37 +0000 (12:01 -0700)
It's either a mesa_format or mesa_array_format.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/dri/i965/intel_image.h

index ad426910e4162f0d3aceb5ae5de02024818b469b..cf0610540fc5566d84d80e08fc74e56512612656 100644 (file)
@@ -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;