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
690f496b
Commit
690f496b
authored
Mar 22, 2008
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Mar 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: We want to compare the old and the new format and not the old with the old.
parent
57384b7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
context.c
dlls/wined3d/context.c
+1
-1
No files found.
dlls/wined3d/context.c
View file @
690f496b
...
...
@@ -715,7 +715,7 @@ static inline WineD3DContext *FindContext(IWineD3DDeviceImpl *This, IWineD3DSurf
*/
if
(
oldFmt
!=
newFmt
)
{
const
StaticPixelFormatDesc
*
old
=
getFormatDescEntry
(
oldFmt
,
NULL
,
NULL
);
const
StaticPixelFormatDesc
*
new
=
getFormatDescEntry
(
old
Fmt
,
NULL
,
NULL
);
const
StaticPixelFormatDesc
*
new
=
getFormatDescEntry
(
new
Fmt
,
NULL
,
NULL
);
if
((
old
->
alphaMask
&&
!
new
->
alphaMask
)
||
(
!
old
->
alphaMask
&&
new
->
alphaMask
))
{
Context_MarkStateDirty
(
context
,
STATE_RENDER
(
WINED3DRS_ALPHABLENDENABLE
));
...
...
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