mesa: move i, j var decls into SWIZZLE_CONVERT_LOOP() macro
authorBrian Paul <brianp@vmware.com>
Fri, 12 Sep 2014 16:00:09 +0000 (10:00 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 15 Sep 2014 15:52:44 +0000 (09:52 -0600)
commit418da979053d4fec5b4913e0407c5c48eab601e5
treeab0a2bf71db9d178b13dfc4ec4a06845fa3c8e40
parentcfeb394224f2daeb2139cf4ec489a4dd8297a44d
mesa: move i, j var decls into SWIZZLE_CONVERT_LOOP() macro

Put macro code in do {} while loop and put semicolons on macro calls
so auto indentation works properly.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/format_utils.c