From 867109f311a9f23a69465e5c65e02fe5a36a1507 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 21 Apr 2010 09:58:15 -0600 Subject: st/glx: variable 'i' is an enum Now we can get see 'i' as an enum name instead of a plain integer in gdb. --- src/gallium/state_trackers/glx/xlib/xm_st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/glx/xlib/xm_st.c b/src/gallium/state_trackers/glx/xlib/xm_st.c index 27b6da94bce..294b593bf77 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_st.c +++ b/src/gallium/state_trackers/glx/xlib/xm_st.c @@ -132,7 +132,7 @@ xmesa_st_framebuffer_validate_textures(struct st_framebuffer_iface *stfbi, { struct xmesa_st_framebuffer *xstfb = xmesa_st_framebuffer(stfbi); struct pipe_resource templ; - unsigned i; + enum st_attachment_type i; /* remove outdated textures */ if (xstfb->texture_width != width || xstfb->texture_height != height) { -- cgit v1.2.3