<div class="gmail_quote">Hello,<br><br>changes from previous tries:<br><br>- simplify a computation.<br>- merge a loop inside an other one, since the number of sides could be huge.<br>- following to <a href="http://www.winehq.org/pipermail/wine-devel/2011-August/091570.html" target="_blank">http://www.winehq.org/pipermail/wine-devel/2011-August/091570.html</a>, D3DLOCK_DISCARD has not to be used.<br>

<br>A+ <br><span class="HOEnZb"><font color="#888888"><br>
</font></span></div><br>