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
c0e271c4
Commit
c0e271c4
authored
Nov 24, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove WINAPI on static functions where not needed.
parent
a3973e0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
device.c
dlls/wined3d/device.c
+5
-5
surface.c
dlls/wined3d/surface.c
+1
-1
No files found.
dlls/wined3d/device.c
View file @
c0e271c4
...
...
@@ -52,7 +52,7 @@ const WINED3DLIGHT WINED3D_default_light = {
};
/* static function declarations */
static
void
WINAPI
IWineD3DDeviceImpl_AddResource
(
IWineD3DDevice
*
iface
,
IWineD3DResource
*
resource
);
static
void
IWineD3DDeviceImpl_AddResource
(
IWineD3DDevice
*
iface
,
IWineD3DResource
*
resource
);
/* helper macros */
#define D3DMEMCHECK(object, ppResult) if(NULL == object) { *ppResult = NULL; WARN("Out of memory\n"); return WINED3DERR_OUTOFVIDEOMEMORY;}
...
...
@@ -1311,7 +1311,7 @@ static LONG fullscreen_exStyle(LONG orig_exStyle) {
return
exStyle
;
}
static
void
WINAPI
IWineD3DDeviceImpl_SetupFullscreenWindow
(
IWineD3DDevice
*
iface
,
HWND
window
,
UINT
w
,
UINT
h
)
{
static
void
IWineD3DDeviceImpl_SetupFullscreenWindow
(
IWineD3DDevice
*
iface
,
HWND
window
,
UINT
w
,
UINT
h
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
LONG
style
,
exStyle
;
...
...
@@ -1355,7 +1355,7 @@ static void WINAPI IWineD3DDeviceImpl_SetupFullscreenWindow(IWineD3DDevice *ifac
* window: Window to setup
*
*****************************************************************************/
static
void
WINAPI
IWineD3DDeviceImpl_RestoreWindow
(
IWineD3DDevice
*
iface
,
HWND
window
)
{
static
void
IWineD3DDeviceImpl_RestoreWindow
(
IWineD3DDevice
*
iface
,
HWND
window
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
LONG
style
,
exStyle
;
...
...
@@ -7318,14 +7318,14 @@ static void WINAPI IWineD3DDeviceImpl_GetGammaRamp(IWineD3DDevice *iface, UINT i
* any handles to other resource held by the caller must be closed
* (e.g. a texture should release all held surfaces because telling the device that it's been released.)
*****************************************************/
static
void
WINAPI
IWineD3DDeviceImpl_AddResource
(
IWineD3DDevice
*
iface
,
IWineD3DResource
*
resource
){
static
void
IWineD3DDeviceImpl_AddResource
(
IWineD3DDevice
*
iface
,
IWineD3DResource
*
resource
){
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
TRACE
(
"(%p) : Adding Resource %p
\n
"
,
This
,
resource
);
list_add_head
(
&
This
->
resources
,
&
((
IWineD3DResourceImpl
*
)
resource
)
->
resource
.
resource_list_entry
);
}
static
void
WINAPI
IWineD3DDeviceImpl_RemoveResource
(
IWineD3DDevice
*
iface
,
IWineD3DResource
*
resource
){
static
void
IWineD3DDeviceImpl_RemoveResource
(
IWineD3DDevice
*
iface
,
IWineD3DResource
*
resource
){
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
TRACE
(
"(%p) : Removing resource %p
\n
"
,
This
,
resource
);
...
...
dlls/wined3d/surface.c
View file @
c0e271c4
...
...
@@ -3671,7 +3671,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
return
WINED3DERR_INVALIDCALL
;
}
static
HRESULT
WINAPI
IWineD3DSurfaceImpl_BltZ
(
IWineD3DSurfaceImpl
*
This
,
RECT
*
DestRect
,
IWineD3DSurface
*
SrcSurface
,
RECT
*
SrcRect
,
DWORD
Flags
,
WINEDDBLTFX
*
DDBltFx
)
static
HRESULT
IWineD3DSurfaceImpl_BltZ
(
IWineD3DSurfaceImpl
*
This
,
RECT
*
DestRect
,
IWineD3DSurface
*
SrcSurface
,
RECT
*
SrcRect
,
DWORD
Flags
,
WINEDDBLTFX
*
DDBltFx
)
{
IWineD3DDeviceImpl
*
myDevice
=
This
->
resource
.
wineD3DDevice
;
float
depth
;
...
...
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