Commit ab9f0289 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ddraw/tests: Make some functions static.

parent 0f305929
...@@ -1025,7 +1025,7 @@ static void EnumTest(void) ...@@ -1025,7 +1025,7 @@ static void EnumTest(void)
IDirectDrawSurface_Release(surface); IDirectDrawSurface_Release(surface);
} }
HRESULT WINAPI SurfaceCounter(IDirectDrawSurface7 *surface, DDSURFACEDESC2 *desc, void *context) static HRESULT WINAPI SurfaceCounter(IDirectDrawSurface7 *surface, DDSURFACEDESC2 *desc, void *context)
{ {
UINT *num = context; UINT *num = context;
(*num)++; (*num)++;
...@@ -1418,7 +1418,7 @@ struct compare ...@@ -1418,7 +1418,7 @@ struct compare
UINT mips; UINT mips;
}; };
HRESULT WINAPI CubeTestLvl2Enum(IDirectDrawSurface7 *surface, DDSURFACEDESC2 *desc, void *context) static HRESULT WINAPI CubeTestLvl2Enum(IDirectDrawSurface7 *surface, DDSURFACEDESC2 *desc, void *context)
{ {
UINT *mips = context; UINT *mips = context;
...@@ -1430,7 +1430,7 @@ HRESULT WINAPI CubeTestLvl2Enum(IDirectDrawSurface7 *surface, DDSURFACEDESC2 *de ...@@ -1430,7 +1430,7 @@ HRESULT WINAPI CubeTestLvl2Enum(IDirectDrawSurface7 *surface, DDSURFACEDESC2 *de
return DDENUMRET_OK; return DDENUMRET_OK;
} }
HRESULT WINAPI CubeTestLvl1Enum(IDirectDrawSurface7 *surface, DDSURFACEDESC2 *desc, void *context) static HRESULT WINAPI CubeTestLvl1Enum(IDirectDrawSurface7 *surface, DDSURFACEDESC2 *desc, void *context)
{ {
UINT mips = 0; UINT mips = 0;
UINT *num = (UINT *) context; UINT *num = (UINT *) context;
......
...@@ -1027,7 +1027,7 @@ out: ...@@ -1027,7 +1027,7 @@ out:
ptr = ((D3DTRIANGLE*)(ptr))+1;\ ptr = ((D3DTRIANGLE*)(ptr))+1;\
} while (0) } while (0)
HRESULT CALLBACK TextureFormatEnumCallback(LPDDSURFACEDESC lpDDSD, LPVOID lpContext) static HRESULT CALLBACK TextureFormatEnumCallback(LPDDSURFACEDESC lpDDSD, LPVOID lpContext)
{ {
if (lpDDSD->ddpfPixelFormat.dwFlags & DDPF_PALETTEINDEXED8) { if (lpDDSD->ddpfPixelFormat.dwFlags & DDPF_PALETTEINDEXED8) {
*(BOOL*)lpContext = TRUE; *(BOOL*)lpContext = TRUE;
......
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