Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3873f445
Commit
3873f445
authored
Apr 10, 2000
by
Marcus Meissner
Committed by
Alexandre Julliard
Apr 10, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use d3dexecutebuffer_create only when compiling with MESA.
parent
a20b7921
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
main.c
dlls/ddraw/d3ddevice/main.c
+1
-2
mesa.c
dlls/ddraw/d3ddevice/mesa.c
+12
-1
No files found.
dlls/ddraw/d3ddevice/main.c
View file @
3873f445
...
...
@@ -466,8 +466,7 @@ HRESULT WINAPI IDirect3DDeviceImpl_CreateExecuteBuffer(
LPDIRECT3DEXECUTEBUFFER
*
lplpDirect3DExecuteBuffer
,
IUnknown
*
pUnkOuter
)
{
ICOM_THIS
(
IDirect3DDeviceImpl
,
iface
);
TRACE
(
"(%p)->(%p,%p,%p)
\n
"
,
This
,
lpDesc
,
lplpDirect3DExecuteBuffer
,
pUnkOuter
);
*
lplpDirect3DExecuteBuffer
=
d3dexecutebuffer_create
(
This
,
lpDesc
);
FIXME
(
"(%p)->(%p,%p,%p): stub
\n
"
,
This
,
lpDesc
,
lplpDirect3DExecuteBuffer
,
pUnkOuter
);
return
DD_OK
;
}
...
...
dlls/ddraw/d3ddevice/mesa.c
View file @
3873f445
...
...
@@ -749,6 +749,17 @@ static HRESULT WINAPI MESA_IDirect3DDevice2Impl_DrawIndexedPrimitive(
return
D3D_OK
;
}
static
HRESULT
WINAPI
MESA_IDirect3DDeviceImpl_CreateExecuteBuffer
(
LPDIRECT3DDEVICE
iface
,
LPD3DEXECUTEBUFFERDESC
lpDesc
,
LPDIRECT3DEXECUTEBUFFER
*
lplpDirect3DExecuteBuffer
,
IUnknown
*
pUnkOuter
)
{
ICOM_THIS
(
IDirect3DDeviceImpl
,
iface
);
TRACE
(
"(%p)->(%p,%p,%p)
\n
"
,
This
,
lpDesc
,
lplpDirect3DExecuteBuffer
,
pUnkOuter
);
*
lplpDirect3DExecuteBuffer
=
d3dexecutebuffer_create
(
This
,
lpDesc
);
return
DD_OK
;
}
/*******************************************************************************
* OpenGL-specific IDirect3DDevice2
*/
...
...
@@ -1017,7 +1028,7 @@ ICOM_VTABLE(IDirect3DDevice) OpenGL_vtable_dx3 =
IDirect3DDeviceImpl_Initialize
,
IDirect3DDeviceImpl_GetCaps
,
IDirect3DDeviceImpl_SwapTextureHandles
,
IDirect3DDeviceImpl_CreateExecuteBuffer
,
MESA_
IDirect3DDeviceImpl_CreateExecuteBuffer
,
IDirect3DDeviceImpl_GetStats
,
IDirect3DDeviceImpl_Execute
,
IDirect3DDeviceImpl_AddViewport
,
...
...
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