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
55a5b4ca
Commit
55a5b4ca
authored
Dec 10, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move WINED3DRS_ANTIALIAS to the state table.
parent
2710be03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
device.c
dlls/wined3d/device.c
+1
-7
state.c
dlls/wined3d/state.c
+7
-1
No files found.
dlls/wined3d/device.c
View file @
55a5b4ca
...
...
@@ -3429,6 +3429,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
case
WINED3DRS_DEPTHBIAS
:
case
WINED3DRS_TEXTUREPERSPECTIVE
:
case
WINED3DRS_STIPPLEDALPHA
:
case
WINED3DRS_ANTIALIAS
:
StateTable
[
STATE_RENDER
(
State
)].
apply
(
STATE_RENDER
(
State
),
This
->
stateBlock
);
break
;
...
...
@@ -3439,13 +3440,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
return
WINED3DERR_INVALIDCALL
;
}
case
WINED3DRS_ANTIALIAS
:
{
if
(
Value
)
ERR
(
" Antialias not supported yet.
\n
"
);
break
;
}
case
WINED3DRS_MULTISAMPLEMASK
:
{
if
(
0xFFFFFFFF
!=
Value
)
...
...
dlls/wined3d/state.c
View file @
55a5b4ca
...
...
@@ -1160,12 +1160,18 @@ static void state_stippledalpha(DWORD state, IWineD3DStateBlockImpl *stateblock)
ERR
(
" Stippled Alpha not supported yet.
\n
"
);
}
static
void
state_antialias
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
)
{
TRACE
(
"Stub
\n
"
);
if
(
stateblock
->
renderState
[
WINED3DRS_ANTIALIAS
])
ERR
(
" Antialias not supported yet.
\n
"
);
}
const
struct
StateEntry
StateTable
[]
=
{
/* State name representative, apply function */
{
/* 0, Undefined */
0
,
state_undefined
},
{
/* 1, WINED3DRS_TEXTUREHANDLE */
0
/* Handled in ddraw */
,
state_undefined
},
{
/* 2, WINED3DRS_ANTIALIAS */
STATE_RENDER
(
WINED3DRS_ANTIALIAS
),
state_
unknown
},
{
/* 2, WINED3DRS_ANTIALIAS */
STATE_RENDER
(
WINED3DRS_ANTIALIAS
),
state_
antialias
},
{
/* 3, WINED3DRS_TEXTUREADDRESS */
0
/* Handled in ddraw */
,
state_undefined
},
{
/* 4, WINED3DRS_TEXTUREPERSPECTIVE */
STATE_RENDER
(
WINED3DRS_TEXTUREPERSPECTIVE
),
state_perspective
},
{
/* 5, WINED3DRS_WRAPU */
STATE_RENDER
(
WINED3DRS_WRAPU
),
state_unknown
},
...
...
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