summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-03-12 10:04:47 +0800
committerChia-I Wu <olv@lunarg.com>2010-03-12 10:05:39 +0800
commit72ed7eb15a12ad88647dddefde5999ddd308b9e4 (patch)
tree58513749a670dbbab7347c39dd425ab8be79cbf6
parent576d9af505bd19ccaac04a68c8744f36f887bd5c (diff)
st/glx: Fix an infinite recursion in flush_front.
It was a stupid typo by me when I refactored the code.
-rw-r--r--src/gallium/state_trackers/glx/xlib/xm_st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_st.c b/src/gallium/state_trackers/glx/xlib/xm_st.c
index c5ea5c1549..3b5f78e98a 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);