diff options
author | Alan Hourihane <[email protected]> | 2008-05-02 10:08:03 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-05-02 10:30:34 +0000 |
commit | 54507125e735ffa595e252282eaabf38095c21e1 (patch) | |
tree | eacd1698108af8b744ddf92ecb06e7cc89a5a66f /src/mesa/state_tracker/st_atom_constbuf.c | |
parent | a1cb0c2b915532e934b5d37bd0c550b1bfcc77ba (diff) |
Some changed for non-C99 compilers
Diffstat (limited to 'src/mesa/state_tracker/st_atom_constbuf.c')
-rwxr-xr-x[-rw-r--r--] | src/mesa/state_tracker/st_atom_constbuf.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c index 2b659aebbc9..2856e0f0e0f 100644..100755 --- a/src/mesa/state_tracker/st_atom_constbuf.c +++ b/src/mesa/state_tracker/st_atom_constbuf.c @@ -113,12 +113,12 @@ static void update_vs_constants(struct st_context *st ) } const struct st_tracked_state st_update_vs_constants = { - .name = "st_update_vs_constants", - .dirty = { - .mesa = 0, /* set dynamically above */ - .st = ST_NEW_VERTEX_PROGRAM, + "st_update_vs_constants", /* name */ + { /* dirty */ + 0, /* set dynamically above */ /* mesa */ + ST_NEW_VERTEX_PROGRAM, /* st */ }, - .update = update_vs_constants + update_vs_constants /* update */ }; /* Fragment shader: @@ -132,11 +132,11 @@ static void update_fs_constants(struct st_context *st ) } const struct st_tracked_state st_update_fs_constants = { - .name = "st_update_fs_constants", - .dirty = { - .mesa = 0, /* set dynamically above */ - .st = ST_NEW_FRAGMENT_PROGRAM, + "st_update_fs_constants", /* name */ + { /* dirty */ + 0, /* set dynamically above */ /* mesa */ + ST_NEW_FRAGMENT_PROGRAM, /* st */ }, - .update = update_fs_constants + update_fs_constants /* update */ }; |