[PATCH 1/5] wined3d: Call glReadBuffer() through the appropriate function pointer.

Matteo Bruni mbruni at codeweavers.com
Mon Feb 9 14:19:49 CST 2015


---
 dlls/wined3d/context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index b3fa5a1..843905a 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -437,7 +437,7 @@ static void context_apply_fbo_entry(struct wined3d_context *context, GLenum targ
 
     /* Set valid read and draw buffer bindings to satisfy pedantic pre-ES2_compatibility
      * GL contexts requirements. */
-    glReadBuffer(GL_NONE);
+    gl_info->gl_ops.gl.p_glReadBuffer(GL_NONE);
     context_set_draw_buffer(context, GL_NONE);
     if (target != GL_FRAMEBUFFER)
     {
-- 
2.0.5




More information about the wine-patches mailing list