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
35979b92
Commit
35979b92
authored
Apr 19, 2008
by
Alexander Dorofeyev
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Prevent console spamming in drawPrimitive.
parent
db36665b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
drawprim.c
dlls/wined3d/drawprim.c
+21
-3
No files found.
dlls/wined3d/drawprim.c
View file @
35979b92
...
...
@@ -1062,14 +1062,26 @@ void drawPrimitive(IWineD3DDevice *iface,
if
(
!
use_vs
(
This
))
{
if
(
!
This
->
strided_streams
.
u
.
s
.
position_transformed
&&
This
->
activeContext
->
num_untracked_materials
&&
This
->
stateBlock
->
renderState
[
WINED3DRS_LIGHTING
])
{
FIXME
(
"Using software emulation because not all material properties could be tracked
\n
"
);
static
BOOL
first
=
TRUE
;
if
(
first
)
{
FIXME
(
"Using software emulation because not all material properties could be tracked
\n
"
);
first
=
FALSE
;
}
else
{
TRACE
(
"Using software emulation because not all material properties could be tracked
\n
"
);
}
emulation
=
TRUE
;
}
else
if
(
This
->
activeContext
->
fog_coord
&&
This
->
stateBlock
->
renderState
[
WINED3DRS_FOGENABLE
])
{
/* Either write a pipeline replacement shader or convert the specular alpha from unsigned byte
* to a float in the vertex buffer
*/
FIXME
(
"Using software emulation because manual fog coordinates are provided
\n
"
);
static
BOOL
first
=
TRUE
;
if
(
first
)
{
FIXME
(
"Using software emulation because manual fog coordinates are provided
\n
"
);
first
=
FALSE
;
}
else
{
TRACE
(
"Using software emulation because manual fog coordinates are provided
\n
"
);
}
emulation
=
TRUE
;
}
...
...
@@ -1083,7 +1095,13 @@ void drawPrimitive(IWineD3DDevice *iface,
if
(
This
->
useDrawStridedSlow
||
emulation
)
{
/* Immediate mode drawing */
if
(
use_vs
(
This
))
{
FIXME
(
"Using immediate mode with vertex shaders for half float emulation
\n
"
);
static
BOOL
first
=
TRUE
;
if
(
first
)
{
FIXME
(
"Using immediate mode with vertex shaders for half float emulation
\n
"
);
first
=
FALSE
;
}
else
{
TRACE
(
"Using immediate mode with vertex shaders for half float emulation
\n
"
);
}
drawStridedSlowVs
(
iface
,
strided
,
calculatedNumberOfindices
,
glPrimType
,
idxData
,
idxSize
,
minIndex
,
StartIdx
,
StartVertexIndex
);
}
else
{
...
...
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