mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
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: b0d3938430 ("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>
This commit is contained in:
parent
7d6e1a341a
commit
d64ded7b50
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ struct swr_context {
|
|||
|
||||
/** Conditional query object and mode */
|
||||
struct pipe_query *render_cond_query;
|
||||
uint render_cond_mode;
|
||||
enum pipe_render_cond_flag render_cond_mode;
|
||||
boolean render_cond_cond;
|
||||
unsigned active_queries;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue