Module: Mesa
Branch: main
Commit: c8c00fc6c3a37f877996eccda15f97b3030e022c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8c00fc6c3a37f877996eccda15f97b3030e022c

Author: Thomas H.P. Andersen <[email protected]>
Date:   Sat Dec 18 21:10:06 2021 +0100

draw: drop unused function

Introduced in 381e9fe6. Never used.

Fixes a compile warning with clang

Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14252>

---

 src/gallium/auxiliary/draw/draw_pipe_user_cull.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_pipe_user_cull.c 
b/src/gallium/auxiliary/draw/draw_pipe_user_cull.c
index fcc177e0449..86968a25741 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_user_cull.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_user_cull.c
@@ -38,11 +38,6 @@ struct user_cull_stage {
    struct draw_stage stage;
 };
 
-static inline struct user_cull_stage *user_cull_stage( struct draw_stage 
*stage )
-{
-   return (struct user_cull_stage *)stage;
-}
-
 static inline boolean
 cull_distance_is_out(float dist)
 {

Reply via email to