diff options
author | José Fonseca <[email protected]> | 2012-12-08 01:02:30 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-12-08 01:02:30 +0000 |
commit | eeff87cee3a01cbd3ca9153db531ca5b0d21f606 (patch) | |
tree | c5c1fda0104a40ff8b37ae52115f818c6b4f2a13 /src/mesa/main | |
parent | 4e9d19717c77d24844ff4443efb4a8bdc1736534 (diff) |
mesa: Move declaration before statement.
For MSVC's sake.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/texcompress_etc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa/main/texcompress_etc.c index b98ff029a2e..73d2fa4fe0c 100644 --- a/src/mesa/main/texcompress_etc.c +++ b/src/mesa/main/texcompress_etc.c @@ -411,9 +411,10 @@ etc2_rgb8_parse_block(struct etc2_block *block, } } else if (G_plus_dG < 0 || G_plus_dG > 31){ + int base_color_1_value, base_color_2_value; + /* H mode */ block->is_h_mode = true; - int base_color_1_value, base_color_2_value; for(i = 0; i < 3; i++) { block->base_colors[0][i] = etc2_base_color1_h_mode(src, i); |