d3d9/tests: Fix compile error with gcc 4.9.

Sebastian Lackner sebastian at fds-team.de
Mon Apr 27 19:08:21 CDT 2015


Looks like a compiler bug to me.

visual.c: In function 'test_specular_lighting':
visual.c:543:5: error: initializer element is not constant
     static const unsigned int indices_count = (vertices_side - 1) * (vertices_side - 1) * 2 * 3;
     ^
---
 dlls/d3d9/tests/visual.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d3d9-tests-Fix-compile-error-with-gcc-4.9.patch
Type: text/x-patch
Size: 876 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150428/beac7498/attachment.bin>


More information about the wine-patches mailing list