summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-08-18 11:25:13 +0100
committerEric Engestrom <[email protected]>2017-08-24 16:11:45 +0100
commit55db2b6cfb9f22119c69cea4be3a2e7a750c46d4 (patch)
tree9677886a1a6f3eb87fc74ac1a914c3c22a050c9a /scons
parent688d866eca8943f09cd846ffb045e18f6ec0677c (diff)
i965: add missing `const` in function signature
Gets rid of a few warnings of the form: src/mesa/drivers/dri/i965/intel_screen.c:918:49: warning: passing argument 2 of ‘modifier_is_supported’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] !modifier_is_supported(&screen->devinfo, f, 0, modifier)) ^ src/mesa/drivers/dri/i965/intel_screen.c:301:1: note: expected ‘struct intel_image_format *’ but argument is of type ‘const struct intel_image_format *’ Fixes: 1efd73df39b39589d26f "i965: Advertise the CCS modifier" Cc: Ben Widawsky <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions