commit | fe0410b0cc92e8481dc8c98204eee987fc808da8 | [log] [tgz] |
---|---|---|
author | Bryce Harrington <bryce@osg.samsung.com> | Mon Nov 21 10:02:42 2016 -0800 |
committer | Daniel Stone <daniels@collabora.com> | Mon Nov 21 18:04:40 2016 +0000 |
tree | ff4abd2651bee23fd26f5fe7bed5fbbe2e966b58 | |
parent | 3447619a3a51b3c5e0d7b110169c3a1f56140846 [diff] |
gl: Don't declare variables in for loop Fixes compilation error introduced by 43cea54c: libweston/gl-renderer.c:2862:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (unsigned i = 0; i < ARRAY_LENGTH(swap_damage_ext_to_entrypoint); i++) { ^ Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Daniel Stone <daniels@collabora.com>