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
c2bf124a
Commit
c2bf124a
authored
Oct 06, 2007
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Oct 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use EXT-versions of glBlend*.
parent
75c2fb66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
state.c
dlls/wined3d/state.c
+2
-2
wined3d_gl.h
include/wine/wined3d_gl.h
+3
-3
No files found.
dlls/wined3d/state.c
View file @
c2bf124a
...
...
@@ -332,7 +332,7 @@ static void state_blendfactor(DWORD state, IWineD3DStateBlockImpl *stateblock, W
TRACE
(
"Setting BlendFactor to %d
\n
"
,
stateblock
->
renderState
[
WINED3DRS_BLENDFACTOR
]);
D3DCOLORTOGLFLOAT4
(
stateblock
->
renderState
[
WINED3DRS_BLENDFACTOR
],
col
);
GL_EXTCALL
(
glBlendColor
(
col
[
0
],
col
[
1
],
col
[
2
],
col
[
3
]));
GL_EXTCALL
(
glBlendColor
EXT
(
col
[
0
],
col
[
1
],
col
[
2
],
col
[
3
]));
checkGLcall
(
"glBlendColor"
);
}
...
...
@@ -481,7 +481,7 @@ static void state_blendop(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD
}
TRACE
(
"glBlendEquation(%x)
\n
"
,
glParm
);
GL_EXTCALL
(
glBlendEquation
(
glParm
));
GL_EXTCALL
(
glBlendEquation
EXT
(
glParm
));
checkGLcall
(
"glBlendEquation"
);
}
...
...
include/wine/wined3d_gl.h
View file @
c2bf124a
...
...
@@ -3222,9 +3222,9 @@ typedef enum _GL_SupportedExt {
/** ARB Extensions **/
\
/* GL_ARB_draw_buffers */
\
USE_GL_FUNC(PGLFNDRAWBUFFERSARBPROC, glDrawBuffersARB); \
/* GL_ARB_imaging */
\
USE_GL_FUNC(PGLFNBLENDCOLORPROC, glBlendColor); \
USE_GL_FUNC(PGLFNBLENDEQUATIONPROC, glBlendEquation); \
/* GL_ARB_imaging
, GL_EXT_blend_minmax
*/
\
USE_GL_FUNC(PGLFNBLENDCOLORPROC, glBlendColor
EXT
); \
USE_GL_FUNC(PGLFNBLENDEQUATIONPROC, glBlendEquation
EXT
); \
/* GL_ARB_multisample */
\
USE_GL_FUNC(WINED3D_PFNGLSAMPLECOVERAGEARBPROC, glSampleCoverageARB); \
/* GL_ARB_multitexture */
\
...
...
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