diff options
author | Andreas Baierl <[email protected]> | 2019-07-11 15:26:24 +0200 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2019-07-13 13:15:05 +0000 |
commit | ce81c9a2e1ee5b8c8acc333fd943abb4fd1c77c9 (patch) | |
tree | 2e592ae34acfe015b4cca10a5b1089bba1b1cc48 /src/gallium/drivers/lima/lima_draw.c | |
parent | 09c4037ddada76ad07cca2fd6b46f5451fa55f1b (diff) |
lima: Fix compiler warnings for unused functions.
Signed-off-by: Andreas Baierl <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_draw.c')
-rw-r--r-- | src/gallium/drivers/lima/lima_draw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_draw.c b/src/gallium/drivers/lima/lima_draw.c index c87542d24bb..8c1e7ed01bc 100644 --- a/src/gallium/drivers/lima/lima_draw.c +++ b/src/gallium/drivers/lima/lima_draw.c @@ -1009,6 +1009,7 @@ lima_calculate_alpha_blend(enum pipe_blend_func rgb_func, enum pipe_blend_func a 0x0C000000; /* need check if this GLESv1 glAlphaFunc */ } +#if 0 static int lima_stencil_op(enum pipe_stencil_op pipe) { @@ -1032,6 +1033,7 @@ lima_stencil_op(enum pipe_stencil_op pipe) } return -1; } +#endif static int lima_calculate_depth_test(struct pipe_depth_state *depth, struct pipe_rasterizer_state *rst) |