Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
be822659
Commit
be822659
authored
Jul 23, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Jul 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't modify the blending parameters in state_blend().
parent
0e14c29d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
state.c
dlls/wined3d/state.c
+3
-5
No files found.
dlls/wined3d/state.c
View file @
be822659
...
...
@@ -306,12 +306,10 @@ static void state_blend(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3D
glEnable
(
GL_LINE_SMOOTH
);
checkGLcall
(
"glEnable(GL_LINE_SMOOTH)"
);
if
(
srcBlend
!=
GL_SRC_ALPHA
)
{
FIXME
(
"WINED3DRS_EDGEANTIALIAS enabled, but incompatible src blending param - what to do?
\n
"
);
srcBlend
=
GL_SRC_ALPHA
;
WARN
(
"WINED3DRS_EDGEANTIALIAS enabled, but unexpected src blending param
\n
"
);
}
if
(
dstBlend
!=
GL_ONE_MINUS_SRC_ALPHA
)
{
FIXME
(
"WINED3DRS_EDGEANTIALIAS enabled, but incompatible dst blending param - what to do?
\n
"
);
dstBlend
=
GL_ONE_MINUS_SRC_ALPHA
;
if
(
dstBlend
!=
GL_ONE_MINUS_SRC_ALPHA
&&
dstBlend
!=
GL_ONE
)
{
WARN
(
"WINED3DRS_EDGEANTIALIAS enabled, but unexpected dst blending param
\n
"
);
}
}
else
{
glDisable
(
GL_LINE_SMOOTH
);
...
...
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