diff options
author | Marek Olšák <[email protected]> | 2012-12-03 16:24:59 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-12-07 14:19:29 +0100 |
commit | 919f788b92362676fa368d9950532f82f762cdfb (patch) | |
tree | 066584a0498ca4f9bc7d5430343f675a1951548f /src/gallium/state_trackers/egl/common | |
parent | 888714feb6fe9ff22221f4f8a6ed6abd904a2761 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/egl/common')
-rw-r--r-- | src/gallium/state_trackers/egl/common/egl_g3d_st.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_st.c b/src/gallium/state_trackers/egl/common/egl_g3d_st.c index 50ed669ba30..657845cf951 100644 --- a/src/gallium/state_trackers/egl/common/egl_g3d_st.c +++ b/src/gallium/state_trackers/egl/common/egl_g3d_st.c @@ -113,7 +113,8 @@ egl_g3d_destroy_st_manager(struct st_manager *smapi) } static boolean -egl_g3d_st_framebuffer_flush_front_pbuffer(struct st_framebuffer_iface *stfbi, +egl_g3d_st_framebuffer_flush_front_pbuffer(struct st_context_iface *stctx, + struct st_framebuffer_iface *stfbi, enum st_attachment_type statt) { return TRUE; @@ -187,7 +188,8 @@ egl_g3d_st_framebuffer_validate_pbuffer(struct st_framebuffer_iface *stfbi, } static boolean -egl_g3d_st_framebuffer_flush_front(struct st_framebuffer_iface *stfbi, +egl_g3d_st_framebuffer_flush_front(struct st_context_iface *stctx, + struct st_framebuffer_iface *stfbi, enum st_attachment_type statt) { _EGLSurface *surf = (_EGLSurface *) stfbi->st_manager_private; |