gallium/hud: typedef and use hud_st_invalidate_state_func to avoid cast
authorYonggang Luo <luoyonggang@gmail.com>
Fri, 9 Dec 2022 20:10:36 +0000 (04:10 +0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 14 Dec 2022 05:47:52 +0000 (05:47 +0000)
commita23488d63e6717f9fd9ac16c99d1ae8b7f8f6a1e
treec84a9d3b8f7c68485038832634631f63a7c08b80
parente4e4ba23047a0f2f2578691456e487fba2013f43
gallium/hud: typedef and use hud_st_invalidate_state_func to avoid cast

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20042>
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_context.h
src/gallium/auxiliary/hud/hud_private.h
src/gallium/frontends/dri/dri_context.c
src/gallium/frontends/glx/xlib/xm_api.c
src/gallium/frontends/wgl/stw_context.c