Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ab9f0289
Commit
ab9f0289
authored
Dec 13, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Make some functions static.
parent
0f305929
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dsurface.c
dlls/ddraw/tests/dsurface.c
+3
-3
visual.c
dlls/ddraw/tests/visual.c
+1
-1
No files found.
dlls/ddraw/tests/dsurface.c
View file @
ab9f0289
...
@@ -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
;
...
...
dlls/ddraw/tests/visual.c
View file @
ab9f0289
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment