From: Chia-I Wu Date: Fri, 12 Mar 2010 02:04:47 +0000 (+0800) Subject: st/glx: Fix an infinite recursion in flush_front. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72ed7eb15a12ad88647dddefde5999ddd308b9e4;p=mesa.git st/glx: Fix an infinite recursion in flush_front. It was a stupid typo by me when I refactored the code. --- diff --git a/src/gallium/state_trackers/glx/xlib/xm_st.c b/src/gallium/state_trackers/glx/xlib/xm_st.c index c5ea5c1549b..3b5f78e98ad 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_st.c +++ b/src/gallium/state_trackers/glx/xlib/xm_st.c @@ -186,7 +186,7 @@ xmesa_st_framebuffer_flush_front(struct st_framebuffer_iface *stfbi, struct xmesa_st_framebuffer *xstfb = xmesa_st_framebuffer(stfbi); boolean ret; - ret = xmesa_st_framebuffer_flush_front(stfbi, statt); + ret = xmesa_st_framebuffer_display(stfbi, statt); if (ret) xmesa_check_buffer_size(xstfb->buffer);