Some changed for non-C99 compilers

This commit is contained in:
Alan Hourihane
2008-05-02 10:08:03 +00:00
parent a1cb0c2b91
commit 54507125e7
17 changed files with 94 additions and 118 deletions

View File

@@ -267,11 +267,11 @@ static void update_raster_state( struct st_context *st )
}
const struct st_tracked_state st_update_rasterizer = {
.name = "st_update_rasterizer",
.dirty = {
.mesa = (_NEW_LIGHT | _NEW_POLYGON | _NEW_LINE | _NEW_SCISSOR |
_NEW_POINT | _NEW_BUFFERS | _NEW_MULTISAMPLE),
.st = 0,
"st_update_rasterizer", /* name */
{ /* dirty */
(_NEW_LIGHT | _NEW_POLYGON | _NEW_LINE | _NEW_SCISSOR | /* mesa */
_NEW_POINT | _NEW_BUFFERS | _NEW_MULTISAMPLE),
0, /* st */
},
.update = update_raster_state
update_raster_state /* update */
};