Mir

Code review comment for lp:~afrantzis/mir/gbm-alloc-validate-buffer-format

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

17 +uint32_t mgg::invalid_gbm_format()
18 +{
19 + /* There is no explicit invalid GBM pixel format! */
20 + return std::numeric_limits<uint32_t>::max();
21 +}

Is there any need for this to be a function (as opposed to an enum constant)?

review: Approve

« Back to merge proposal