Initialize FunctionToken for every iteration
authorJeannot Breton <jbreton@nvidia.com>
Thu, 25 May 2017 14:34:52 +0000 (09:34 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 26 May 2017 15:53:57 +0000 (11:53 -0400)
commit743282b0cf86e4329aeda5702d456db6712a4a1f
tree2b426ce2bd41760c998c5dc444206a8d302cb019
parent835b35199bd402363481584306c6c695d39c00c6
Initialize FunctionToken for every iteration

The change initializes the variable inside the loop so it gets
re-initialized at every iteration.

This help avoid issues where changes accumulates at every iteration

Affects:

KHR-GL45.sparse_texture_clamp_tests.*

Components: OpenGL

VK-GL-CTS issue: 442

Change-Id: I10eac411a03b3eff5139026ac004dc2df0c025f0
external/openglcts/modules/gl/gl4cSparseTextureClampTests.cpp