d3d9/tests: Fix compile error with gcc 4.9.

This commit is contained in:
Sebastian Lackner 2015-04-24 17:03:19 +02:00 committed by Alexandre Julliard
parent 26623d30f4
commit cf9c3fed18
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ done:
static void test_specular_lighting(void)
{
static const unsigned int vertices_side = 5;
static const unsigned int indices_count = (vertices_side - 1) * (vertices_side - 1) * 2 * 3;
const unsigned int indices_count = (vertices_side - 1) * (vertices_side - 1) * 2 * 3;
static const DWORD fvf = D3DFVF_XYZ | D3DFVF_NORMAL;
static const D3DMATRIX mat =
{{{