st/glx: variable 'i' is an enum

Now we can get see 'i' as an enum name instead of a plain integer in gdb.
This commit is contained in:
Brian Paul 2010-04-21 09:58:15 -06:00
parent f9f06f68fb
commit 867109f311

View file

@ -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) {