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
8f63f180
Commit
8f63f180
authored
Feb 11, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Feb 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Add stub for D3DXCompileShader.
parent
6b890be5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
shader.c
dlls/d3dx9_36/shader.c
+17
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
8f63f180
...
...
@@ -11,7 +11,7 @@
@ stub D3DXCleanMesh
@ stdcall D3DXColorAdjustContrast(ptr ptr long)
@ stdcall D3DXColorAdjustSaturation(ptr ptr long)
@ st
ub D3DXCompileShader
@ st
dcall D3DXCompileShader(ptr long ptr ptr ptr ptr long ptr ptr ptr)
@ stub D3DXCompileShaderFromFileA
@ stub D3DXCompileShaderFromFileW
@ stub D3DXCompileShaderFromResourceA
...
...
dlls/d3dx9_36/shader.c
View file @
8f63f180
...
...
@@ -220,3 +220,20 @@ HRESULT WINAPI D3DXAssembleShaderFromResourceW(HMODULE module,
return
D3DXAssembleShader
(
buffer
,
len
,
defines
,
include
,
flags
,
shader
,
error_messages
);
}
HRESULT
WINAPI
D3DXCompileShader
(
LPCSTR
pSrcData
,
UINT
srcDataLen
,
CONST
D3DXMACRO
*
pDefines
,
LPD3DXINCLUDE
pInclude
,
LPCSTR
pFunctionName
,
LPCSTR
pProfile
,
DWORD
Flags
,
LPD3DXBUFFER
*
ppShader
,
LPD3DXBUFFER
*
ppErrorMsgs
,
LPD3DXCONSTANTTABLE
*
ppConstantTable
)
{
FIXME
(
"(%p, %d, %p, %p, %p, %p, %d, %p, %p, %p): stub
\n
"
,
pSrcData
,
srcDataLen
,
pDefines
,
pInclude
,
pFunctionName
,
pProfile
,
Flags
,
ppShader
,
ppErrorMsgs
,
ppConstantTable
);
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