Commit f9e9ef36 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

d3d9/tests: Use int for indexes in generate_bumpmap_textures.

Fixes -Wabsolute-value warning. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 3aa53f32
...@@ -3160,7 +3160,7 @@ done: ...@@ -3160,7 +3160,7 @@ done:
} }
static void generate_bumpmap_textures(IDirect3DDevice9 *device) { static void generate_bumpmap_textures(IDirect3DDevice9 *device) {
unsigned int i, x, y; int i, x, y;
HRESULT hr; HRESULT hr;
IDirect3DTexture9 *texture[2] = {NULL, NULL}; IDirect3DTexture9 *texture[2] = {NULL, NULL};
D3DLOCKED_RECT locked_rect; D3DLOCKED_RECT locked_rect;
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