swr: s/uint/enum pipe_render_cond_flag/
authorVinson Lee <vlee@freedesktop.org>
Wed, 8 Mar 2017 22:56:04 +0000 (14:56 -0800)
committerVinson Lee <vlee@freedesktop.org>
Thu, 9 Mar 2017 05:43:07 +0000 (21:43 -0800)
commitd64ded7b50d6614b88841383c37fab67d7596c4c
treede26c6be8f9f5a5699cdf9825cd85019cd62c5da
parent7d6e1a341af6d29110fbc83aa139fedade2851d1
swr: s/uint/enum pipe_render_cond_flag/

Fix build error.

swr_context.cpp: In function ‘void swr_blit(pipe_context*, const pipe_blit_info*)’:
swr_context.cpp:336:44: error: invalid conversion from ‘uint {aka unsigned int}’ to ‘pipe_render_cond_flag’ [-fpermissive]
                                       ctx->render_cond_mode);
                                       ~~~~~^~~~~~~~~~~~~~~~

Fixes: b0d39384307d ("gallium: s/uint/enum pipe_render_cond_flag/ for set_render_condition()")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100133
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/swr/swr_context.h