Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
0bbe9121
Commit
0bbe9121
authored
20 years ago
by
Christian Costa
Committed by
Alexandre Julliard
20 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed D3DOP_STATELIGHT opcode.
Implemented _dump_D3DEXECUTEBUFFERDESC.
parent
66954173
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/ddraw/d3dexecutebuffer.c
+10
-5
10 additions, 5 deletions
dlls/ddraw/d3dexecutebuffer.c
with
10 additions
and
5 deletions
dlls/ddraw/d3dexecutebuffer.c
+
10
−
5
View file @
0bbe9121
/* Direct3D ExecuteBuffer
* Copyright (c) 1998 Lionel ULMER
* Copyright (c) 1998-2004 Lionel ULMER
* Copyright (c) 2002-2004 Christian Costa
*
* This file contains the implementation of Direct3DExecuteBuffer.
*
...
...
@@ -53,7 +54,11 @@ static void _dump_executedata(LPD3DEXECUTEDATA lpData) {
}
static
void
_dump_D3DEXECUTEBUFFERDESC
(
LPD3DEXECUTEBUFFERDESC
lpDesc
)
{
DPRINTF
(
"dwSize : %ld
\n
"
,
lpDesc
->
dwSize
);
DPRINTF
(
"dwFlags : %lx
\n
"
,
lpDesc
->
dwFlags
);
DPRINTF
(
"dwCaps : %lx
\n
"
,
lpDesc
->
dwCaps
);
DPRINTF
(
"dwBufferSize : %ld
\n
"
,
lpDesc
->
dwBufferSize
);
DPRINTF
(
"lpData : %p
\n
"
,
lpDesc
->
lpData
);
}
static
void
execute
(
IDirect3DExecuteBufferImpl
*
This
,
...
...
@@ -241,8 +246,8 @@ static void execute(IDirect3DExecuteBufferImpl *This,
rs
,
ci
->
u2
.
dwArg
[
0
]);
}
instr
+=
size
;
}
instr
+=
size
;
}
break
;
case
D3DOP_STATERENDER
:
{
...
...
@@ -709,8 +714,8 @@ HRESULT d3dexecutebuffer_create(IDirect3DExecuteBufferImpl **obj, IDirectDrawImp
object
->
nb_indices
=
0
;
*
obj
=
object
;
TRACE
(
" creating implementation at %p.
\n
"
,
*
obj
);
return
DD_OK
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment