diff options
author | Rhys Kidd <[email protected]> | 2015-09-30 23:18:52 +1000 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-09-30 10:13:41 -0700 |
commit | 83018f5c20a2a1b48f88704a25ebb8410b2f9c71 (patch) | |
tree | 6df7e7811c0d6df467a9051e271dffe02d00d748 /src/mesa/drivers/dri/i965/gen7_disable.c | |
parent | 3948ac19a40663bd00deb84518ac747daa5f401f (diff) |
mesa: Fix format specifier warning in mesa_DispatchComputeIndirect()
Commit 1665d29ee3125743fd6daf3c43fc715f543d5669 introduced an incorrect
format specifier that operates on GLintptr indirect within the function
_mesa_DispatchComputeIndirect().
This patch mitigates the introduced GCC warning:
src/mesa/main/compute.c: In function '_mesa_DispatchComputeIndirect':
src/mesa/main/compute.c:53:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'GLintptr' [-Wformat=]
_mesa_debug(ctx, "glDispatchComputeIndirect(%d)\n", indirect);
^
v2: Amend for Boyan Ding <[email protected]> feedback.
Signed-off-by: Rhys Kidd <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen7_disable.c')
0 files changed, 0 insertions, 0 deletions