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
f5cc6128
Commit
f5cc6128
authored
Oct 29, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Oct 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add D3DFILLMODE to the WINED3D namespace.
parent
02fb9f6f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
device.c
dlls/wined3d/device.c
+4
-4
stateblock.c
dlls/wined3d/stateblock.c
+1
-1
wined3d_types.h
include/wine/wined3d_types.h
+8
-0
No files found.
dlls/wined3d/device.c
View file @
f5cc6128
...
...
@@ -3431,10 +3431,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
switch
(
State
)
{
case
WINED3DRS_FILLMODE
:
switch
((
D3DFILLMODE
)
Value
)
{
case
D3DFILL_POINT
:
glPolygonMode
(
GL_FRONT_AND_BACK
,
GL_POINT
);
break
;
case
D3DFILL_WIREFRAME
:
glPolygonMode
(
GL_FRONT_AND_BACK
,
GL_LINE
);
break
;
case
D3DFILL_SOLID
:
glPolygonMode
(
GL_FRONT_AND_BACK
,
GL_FILL
);
break
;
switch
((
WINE
D3DFILLMODE
)
Value
)
{
case
WINE
D3DFILL_POINT
:
glPolygonMode
(
GL_FRONT_AND_BACK
,
GL_POINT
);
break
;
case
WINE
D3DFILL_WIREFRAME
:
glPolygonMode
(
GL_FRONT_AND_BACK
,
GL_LINE
);
break
;
case
WINE
D3DFILL_SOLID
:
glPolygonMode
(
GL_FRONT_AND_BACK
,
GL_FILL
);
break
;
default:
FIXME
(
"Unrecognized WINED3DRS_FILLMODE value %d
\n
"
,
Value
);
}
...
...
dlls/wined3d/stateblock.c
View file @
f5cc6128
...
...
@@ -843,7 +843,7 @@ static HRESULT WINAPI IWineD3DStateBlockImpl_InitStartupStateBlock(IWineD3DStat
}
else
{
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_ZENABLE
,
WINED3DZB_FALSE
);
}
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_FILLMODE
,
D3DFILL_SOLID
);
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_FILLMODE
,
WINE
D3DFILL_SOLID
);
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_SHADEMODE
,
WINED3DSHADE_GOURAUD
);
lp
.
lp
.
wRepeatFactor
=
0
;
lp
.
lp
.
wLinePattern
=
0
;
...
...
include/wine/wined3d_types.h
View file @
f5cc6128
...
...
@@ -505,6 +505,14 @@ typedef enum _WINED3DSHADEMODE {
WINED3DSHADE_FORCE_DWORD
=
0x7fffffff
}
WINED3DSHADEMODE
;
typedef
enum
_WINED3DFILLMODE
{
WINED3DFILL_POINT
=
1
,
WINED3DFILL_WIREFRAME
=
2
,
WINED3DFILL_SOLID
=
3
,
WINED3DFILL_FORCE_DWORD
=
0x7fffffff
}
WINED3DFILLMODE
;
typedef
enum
_WINED3DCULL
{
WINED3DCULL_NONE
=
1
,
WINED3DCULL_CW
=
2
,
...
...
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