From 919f788b92362676fa368d9950532f82f762cdfb Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 3 Dec 2012 16:24:59 +0100 Subject: gallium: pass the current context to the flush_front state tracker function I will later use the context to resolve an MSAA front buffer. Reviewed-by: Brian Paul --- src/gallium/state_trackers/wgl/stw_st.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/wgl') diff --git a/src/gallium/state_trackers/wgl/stw_st.c b/src/gallium/state_trackers/wgl/stw_st.c index 7151508b73e..dcf958769e8 100644 --- a/src/gallium/state_trackers/wgl/stw_st.c +++ b/src/gallium/state_trackers/wgl/stw_st.c @@ -171,7 +171,8 @@ stw_st_framebuffer_present_locked(HDC hdc, } static boolean -stw_st_framebuffer_flush_front(struct st_framebuffer_iface *stfb, +stw_st_framebuffer_flush_front(struct st_context_iface *stctx, + struct st_framebuffer_iface *stfb, enum st_attachment_type statt) { struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); -- cgit v1.2.3