diff options
author | Brian Paul <[email protected]> | 2016-04-28 11:37:50 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-05-03 15:40:48 -0600 |
commit | 951bf8b4a64c9793d10e963889e74fc1659ddb4b (patch) | |
tree | 8f14d66b2e29250f9c06d7f341682b257cd29160 /src/gallium/drivers/i915/i915_state_dynamic.c | |
parent | 5658ddc7fe828813f8e10de06a830d8a4cdb576d (diff) |
i915g: s/Elements/ARRAY_SIZE/
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_state_dynamic.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_state_dynamic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_state_dynamic.c b/src/gallium/drivers/i915/i915_state_dynamic.c index 1c29e8ae671..85b27215675 100644 --- a/src/gallium/drivers/i915/i915_state_dynamic.c +++ b/src/gallium/drivers/i915/i915_state_dynamic.c @@ -307,7 +307,7 @@ static void update_dynamic(struct i915_context *i915) { int i; - for (i = 0; i < Elements(atoms); i++) + for (i = 0; i < ARRAY_SIZE(atoms); i++) if (i915->dirty & atoms[i]->dirty) atoms[i]->update(i915); } |