summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/glx
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-18 15:23:23 +0100
committerMarek Olšák <[email protected]>2017-11-25 17:16:56 +0100
commit0e319ed835e6ba6fdff6f5d0bb3728e950aec74f (patch)
tree66c7dc37862f48368ecf9d818dc0de9391138774 /src/gallium/state_trackers/glx
parente5148791f65cef066fb20fb44f90fb53f7308f80 (diff)
gallium/hud: split hud_draw into 3 separate functions
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/glx')
-rw-r--r--src/gallium/state_trackers/glx/xlib/xm_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c
index 828253bdb19..74b59757ec2 100644
--- a/src/gallium/state_trackers/glx/xlib/xm_api.c
+++ b/src/gallium/state_trackers/glx/xlib/xm_api.c
@@ -1357,7 +1357,7 @@ void XMesaSwapBuffers( XMesaBuffer b )
if (xmctx && xmctx->hud) {
struct pipe_resource *back =
xmesa_get_framebuffer_resource(b->stfb, ST_ATTACHMENT_BACK_LEFT);
- hud_draw(xmctx->hud, back);
+ hud_run(xmctx->hud, back);
}
if (xmctx && xmctx->xm_buffer == b) {