diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-21 09:58:15 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-21 09:58:17 -0600 |
commit | 867109f311a9f23a69465e5c65e02fe5a36a1507 (patch) | |
tree | 57dff69a6d88ee432cdcbefece759f5a2bf91024 /src/gallium/state_trackers | |
parent | f9f06f68fb37e2afeaa2bc1cb6d40b6669148f9c (diff) | |
download | external_mesa3d-867109f311a9f23a69465e5c65e02fe5a36a1507.zip external_mesa3d-867109f311a9f23a69465e5c65e02fe5a36a1507.tar.gz external_mesa3d-867109f311a9f23a69465e5c65e02fe5a36a1507.tar.bz2 |
st/glx: variable 'i' is an enum
Now we can get see 'i' as an enum name instead of a plain integer in gdb.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_st.c | 2 |
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 27b6da9..294b593b 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) { |