mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 19:10:35 +00:00
wined3d: Use EXT-versions of glBlend*.
This commit is contained in:
parent
75c2fb668d
commit
c2bf124a90
@ -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(glBlendColorEXT (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(glBlendEquationEXT(glParm));
|
||||
checkGLcall("glBlendEquation");
|
||||
}
|
||||
|
||||
|
@ -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, glBlendColorEXT); \
|
||||
USE_GL_FUNC(PGLFNBLENDEQUATIONPROC, glBlendEquationEXT); \
|
||||
/* GL_ARB_multisample */ \
|
||||
USE_GL_FUNC(WINED3D_PFNGLSAMPLECOVERAGEARBPROC, glSampleCoverageARB); \
|
||||
/* GL_ARB_multitexture */ \
|
||||
|
Loading…
x
Reference in New Issue
Block a user