d3d9/tests: Avoid LPDIRECT3DSURFACE9.

This commit is contained in:
Henri Verbeet 2012-10-30 01:01:46 +01:00 committed by Alexandre Julliard
parent 64ffe6476e
commit 32f8548d67
1 changed files with 1 additions and 1 deletions

View File

@ -6936,9 +6936,9 @@ static void srgbtexture_test(IDirect3DDevice9 *device)
* linear_color = ((srgb_color + 0.055) / 1.055) ^ 2.4
* This is true where srgb_color > 0.04045. */
struct IDirect3DTexture9 *texture = NULL;
struct IDirect3DSurface9 *surface = NULL;
IDirect3D9 *d3d = NULL;
HRESULT hr;
LPDIRECT3DSURFACE9 surface = NULL;
D3DLOCKED_RECT lr;
DWORD color;
float quad[] = {