Module: wine Branch: master Commit: f4da723151d031f84323ef3cdbb71cda724ca13d URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4da723151d031f84323ef3cdb...
Author: Matteo Bruni mbruni@codeweavers.com Date: Mon Feb 9 21:19:49 2015 +0100
wined3d: Call glReadBuffer() through the appropriate function pointer.
---
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) {