diff options
author | Emil Velikov <[email protected]> | 2015-10-17 23:42:13 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-10-20 18:37:22 +0100 |
commit | 6994d8ec01273f15d91e5330960194630c1c02e0 (patch) | |
tree | 58d1bdef022c18baabc09265783659b3311679f7 /m4/ax_check_compile_flag.m4 | |
parent | 814f31457e9ae83d4f1e39236f704721b279b73d (diff) |
i965: silence incompatible pointer type warning
src/mesa/drivers/dri/i965/brw_program.c:94:39:
warning: passing argument 1 of ‘_mesa_init_gl_program’ from incompatible
pointer type [-Wincompatible-pointer-types]
return _mesa_init_gl_program(&prog->program, target, id);
^
Runtime was unaffected as brw_geometry_program is subclassed from
gl_geometry_program, thus the address passed was the same.
Fixes: bcb56c2c69d (program: convert _mesa_init_gl_program() to take
struct gl_program *)
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'm4/ax_check_compile_flag.m4')
0 files changed, 0 insertions, 0 deletions