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
59e0573a
Commit
59e0573a
authored
Jun 23, 2011
by
Travis Athougies
Committed by
Alexandre Julliard
Jun 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Added stub implementation of D3DXSaveSurfaceToFileInMemoryA and…
d3dx9_36: Added stub implementation of D3DXSaveSurfaceToFileInMemoryA and D3DXSaveSurfaceToFileInMemoryW.
parent
4434becd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+2
-2
surface.c
dlls/d3dx9_36/surface.c
+15
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
59e0573a
...
...
@@ -263,9 +263,9 @@
@ stub D3DXSavePRTBufferToFileW(ptr ptr)
@ stub D3DXSavePRTCompBufferToFileA(ptr ptr)
@ stub D3DXSavePRTCompBufferToFileW(ptr ptr)
@ st
ub
D3DXSaveSurfaceToFileA(ptr long ptr ptr ptr)
@ st
dcall
D3DXSaveSurfaceToFileA(ptr long ptr ptr ptr)
@ stub D3DXSaveSurfaceToFileInMemory(ptr long ptr ptr ptr)
@ st
ub
D3DXSaveSurfaceToFileW(ptr long ptr ptr ptr)
@ st
dcall
D3DXSaveSurfaceToFileW(ptr long ptr ptr ptr)
@ stub D3DXSaveTextureToFileA(ptr long ptr ptr)
@ stub D3DXSaveTextureToFileInMemory(ptr long ptr ptr)
@ stub D3DXSaveTextureToFileW(ptr long ptr ptr)
...
...
dlls/d3dx9_36/surface.c
View file @
59e0573a
...
...
@@ -939,3 +939,18 @@ HRESULT WINAPI D3DXLoadSurfaceFromSurface(LPDIRECT3DSURFACE9 pDestSurface,
IDirect3DSurface9_UnlockRect
(
pSrcSurface
);
return
hr
;
}
HRESULT
WINAPI
D3DXSaveSurfaceToFileA
(
LPCSTR
pDestFile
,
D3DXIMAGE_FILEFORMAT
DestFormat
,
LPDIRECT3DSURFACE9
pSrcSurface
,
const
PALETTEENTRY
*
pSrcPalette
,
const
RECT
*
pSrcRect
)
{
FIXME
(
"(%p, %d, %p, %p, %p): stub
\n
"
,
pDestFile
,
DestFormat
,
pSrcSurface
,
pSrcPalette
,
pSrcRect
);
return
D3DERR_INVALIDCALL
;
}
HRESULT
WINAPI
D3DXSaveSurfaceToFileW
(
LPCWSTR
pDestFile
,
D3DXIMAGE_FILEFORMAT
DestFormat
,
LPDIRECT3DSURFACE9
pSrcSurface
,
const
PALETTEENTRY
*
pSrcPalette
,
const
RECT
*
pSrcRect
)
{
FIXME
(
"(%p, %d, %p, %p, %p): stub
\n
"
,
pDestFile
,
DestFormat
,
pSrcSurface
,
pSrcPalette
,
pSrcRect
);
return
D3DERR_INVALIDCALL
;
}
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