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
f0541aa5
Commit
f0541aa5
authored
Jan 02, 2003
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jan 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some blend states.
parent
eb620386
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
mesa.c
dlls/ddraw/mesa.c
+11
-0
No files found.
dlls/ddraw/mesa.c
View file @
f0541aa5
...
...
@@ -221,6 +221,17 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
case
D3DBLEND_INVDESTCOLOR
:
rs
->
src
=
GL_ONE_MINUS_DST_COLOR
;
break
;
case
D3DBLEND_BOTHSRCALPHA
:
rs
->
src
=
GL_SRC_ALPHA
;
rs
->
dst
=
GL_SRC_ALPHA
;
break
;
case
D3DBLEND_BOTHINVSRCALPHA
:
rs
->
src
=
GL_ONE_MINUS_SRC_ALPHA
;
rs
->
dst
=
GL_ONE_MINUS_SRC_ALPHA
;
break
;
case
D3DBLEND_SRCALPHASAT
:
rs
->
src
=
GL_SRC_ALPHA_SATURATE
;
break
;
case
D3DBLEND_SRCCOLOR
:
case
D3DBLEND_INVSRCCOLOR
:
/* Cannot be supported with OpenGL */
...
...
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