Commit cf9c3fed authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

d3d9/tests: Fix compile error with gcc 4.9.

parent 26623d30
......@@ -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 =
{{{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment