d3d9/tests: Use int for indexes in generate_bumpmap_textures.
Fixes -Wabsolute-value warning. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3aa53f328c
commit
f9e9ef36fa
|
@ -3160,7 +3160,7 @@ done:
|
|||
}
|
||||
|
||||
static void generate_bumpmap_textures(IDirect3DDevice9 *device) {
|
||||
unsigned int i, x, y;
|
||||
int i, x, y;
|
||||
HRESULT hr;
|
||||
IDirect3DTexture9 *texture[2] = {NULL, NULL};
|
||||
D3DLOCKED_RECT locked_rect;
|
||||
|
|
Loading…
Reference in New Issue