OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9f06f6
)
st/glx: variable 'i' is an enum
author
Brian Paul
<brianp@vmware.com>
Wed, 21 Apr 2010 15:58:15 +0000
(09:58 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 21 Apr 2010 15:58:17 +0000
(09:58 -0600)
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
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/glx/xlib/xm_st.c
b/src/gallium/state_trackers/glx/xlib/xm_st.c
index
27b6da9
..
294b593
100644
(file)
--- 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) {