diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-03-13 23:00:56 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-03-13 23:00:56 +0000 |
commit | e92d44f410f7918c463f891cebe8f9407fe09016 (patch) | |
tree | 50456268c3d20e5b392b807799e0fb979686eb2c | |
parent | 0f0543fd1b27cc07c3bb06d47763e3e1007adc3c (diff) |
arb_color_buffer_float/queries: Move declaration to block start.
-rw-r--r-- | tests/spec/arb_color_buffer_float/queries.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/spec/arb_color_buffer_float/queries.c b/tests/spec/arb_color_buffer_float/queries.c index 79ce807b1..b8818a6bb 100644 --- a/tests/spec/arb_color_buffer_float/queries.c +++ b/tests/spec/arb_color_buffer_float/queries.c @@ -43,9 +43,10 @@ GLboolean test() { GLboolean pass = GL_TRUE; - glBindTexture(GL_TEXTURE_2D, tex); /* for border color */ unsigned frag_clamp; + glBindTexture(GL_TEXTURE_2D, tex); /* for border color */ + for (frag_clamp = test_defaults ? 1 : 0; frag_clamp < (test_defaults ? 2 : 3); ++frag_clamp) { const char *value_names[] = { "texture border color", "texenv color", "fog color", "alpha test reference", "blend color", "clear color" }; |