[PATCH 3/4] wined3d: Map ARB_draw_buffers_blend functions.

Zebediah Figura z.figura12 at gmail.com
Sun Mar 15 23:42:08 CDT 2020


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/wined3d/adapter_gl.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dlls/wined3d/adapter_gl.c b/dlls/wined3d/adapter_gl.c
index 1860dd4bd0..3a6d1bdd2b 100644
--- a/dlls/wined3d/adapter_gl.c
+++ b/dlls/wined3d/adapter_gl.c
@@ -2180,6 +2180,11 @@ static void load_gl_funcs(struct wined3d_gl_info *gl_info)
     USE_GL_FUNC(glGetDebugMessageLogARB)
     /* GL_ARB_draw_buffers */
     USE_GL_FUNC(glDrawBuffersARB)
+    /* GL_ARB_draw_buffers_blend */
+    USE_GL_FUNC(glBlendEquationiARB)
+    USE_GL_FUNC(glBlendEquationSeparateiARB)
+    USE_GL_FUNC(glBlendFunciARB)
+    USE_GL_FUNC(glBlendFuncSeparateiARB)
     /* GL_ARB_draw_elements_base_vertex */
     USE_GL_FUNC(glDrawElementsBaseVertex)
     USE_GL_FUNC(glDrawElementsInstancedBaseVertex)
@@ -2821,8 +2826,12 @@ static void load_gl_funcs(struct wined3d_gl_info *gl_info)
     MAP_GL_FUNCTION(glBindFragDataLocation, glBindFragDataLocationEXT);
     MAP_GL_FUNCTION(glBlendColor, glBlendColorEXT);
     MAP_GL_FUNCTION(glBlendEquation, glBlendEquationEXT);
+    MAP_GL_FUNCTION(glBlendEquationi, glBlendEquationiARB);
     MAP_GL_FUNCTION(glBlendEquationSeparate, glBlendEquationSeparateEXT);
+    MAP_GL_FUNCTION(glBlendEquationSeparatei, glBlendEquationSeparateiARB);
+    MAP_GL_FUNCTION(glBlendFunci, glBlendFunciARB);
     MAP_GL_FUNCTION(glBlendFuncSeparate, glBlendFuncSeparateEXT);
+    MAP_GL_FUNCTION(glBlendFuncSeparatei, glBlendFuncSeparateiARB);
     MAP_GL_FUNCTION(glBufferData, glBufferDataARB);
     MAP_GL_FUNCTION(glBufferSubData, glBufferSubDataARB);
     MAP_GL_FUNCTION(glColorMaski, glColorMaskIndexedEXT);
-- 
2.25.1




More information about the wine-devel mailing list