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
fe6165db
Commit
fe6165db
authored
Jan 10, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Attempt to remove some tabs smuggled in by xcode.
parent
953f8d7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
state.c
dlls/wined3d/state.c
+6
-7
No files found.
dlls/wined3d/state.c
View file @
fe6165db
...
...
@@ -81,9 +81,9 @@ static void state_lighting(DWORD state, IWineD3DStateBlockImpl *stateblock) {
* vertex declaration appplying function calls this function for updating
*/
if
(
isStateDirty
(
stateblock
->
wineD3DDevice
,
STATE_VDECL
))
{
return
;
}
if
(
isStateDirty
(
stateblock
->
wineD3DDevice
,
STATE_VDECL
))
{
return
;
}
normals
=
stateblock
->
wineD3DDevice
->
strided_streams
.
u
.
s
.
normal
.
lpData
!=
NULL
||
stateblock
->
wineD3DDevice
->
strided_streams
.
u
.
s
.
normal
.
VBO
!=
0
;
...
...
@@ -664,7 +664,7 @@ static void state_fog(DWORD state, IWineD3DStateBlockImpl *stateblock) {
/* DX 7 sdk: "If both render states(vertex and table fog) are set to valid modes,
* the system will apply only pixel(=table) fog effects."
*/
else
if
(
stateblock
->
renderState
[
WINED3DRS_FOGTABLEMODE
]
==
D3DFOG_NONE
)
{
else
if
(
stateblock
->
renderState
[
WINED3DRS_FOGTABLEMODE
]
==
D3DFOG_NONE
)
{
glHint
(
GL_FOG_HINT
,
GL_FASTEST
);
checkGLcall
(
"glHint(GL_FOG_HINT, GL_FASTEST)"
);
stateblock
->
wineD3DDevice
->
last_was_foggy_shader
=
FALSE
;
...
...
@@ -1981,7 +1981,7 @@ static void transform_view(DWORD state, IWineD3DStateBlockImpl *stateblock) {
}
static
void
transform_worldex
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateBlock
)
{
WARN
(
"World matrix 1 - 255 not supported yet
\n
"
);
WARN
(
"World matrix 1 - 255 not supported yet
\n
"
);
}
static
const
GLfloat
invymat
[
16
]
=
{
...
...
@@ -2549,8 +2549,7 @@ static inline void handleStreams(IWineD3DStateBlockImpl *stateblock, BOOL useVer
*/
TRACE
(
"================ FVF ===================
\n
"
);
memset
(
dataLocations
,
0
,
sizeof
(
*
dataLocations
));
primitiveConvertToStridedData
((
IWineD3DDevice
*
)
device
,
dataLocations
,
&
fixup
);
primitiveConvertToStridedData
((
IWineD3DDevice
*
)
device
,
dataLocations
,
&
fixup
);
if
(
TRACE_ON
(
d3d
))
{
drawPrimitiveTraceDataLocations
(
dataLocations
);
}
...
...
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