Module: Mesa Branch: master Commit: c1d92f82224faba1e3c4cf3540f7ce19cd934a93 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1d92f82224faba1e3c4cf3540f7ce19cd934a93
Author: Marek Olšák <[email protected]> Date: Thu Aug 17 15:48:10 2017 +0200 gallium/u_blitter: use UTIL_BLITTER_ATTRIB_NONE (0) instead of 0 directly Reviewed-by: Nicolai Hähnle <[email protected]> Tested-by: Brian Paul <[email protected]> --- src/gallium/auxiliary/util/u_blitter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index f3f81d2732..65938c5234 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -2490,7 +2490,7 @@ void util_blitter_custom_resolve_color(struct blitter_context *blitter, blitter_set_common_draw_rect_state(ctx, false, false, false); blitter_set_dst_dimensions(ctx, src->width0, src->height0); blitter->draw_rectangle(blitter, 0, 0, src->width0, src->height0, - 0, 1, 0, NULL); + 0, 1, UTIL_BLITTER_ATTRIB_NONE, NULL); util_blitter_restore_fb_state(blitter); util_blitter_restore_vertex_states(blitter); util_blitter_restore_fragment_states(blitter); @@ -2540,7 +2540,7 @@ void util_blitter_custom_color(struct blitter_context *blitter, blitter_set_common_draw_rect_state(ctx, false, false, false); blitter_set_dst_dimensions(ctx, dstsurf->width, dstsurf->height); blitter->draw_rectangle(blitter, 0, 0, dstsurf->width, dstsurf->height, - 0, 1, 0, NULL); + 0, 1, UTIL_BLITTER_ATTRIB_NONE, NULL); util_blitter_restore_vertex_states(blitter); util_blitter_restore_fragment_states(blitter); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
