Zebediah Figura : wined3d: Pause transform feedback in wined3d_context_gl_draw_shaded_quad().

Alexandre Julliard julliard at winehq.org
Thu Jul 14 16:59:25 CDT 2022


Module: wine
Branch: master
Commit: 8cf48e5014b44300604bebfcde1c01d840790fb6
URL:    https://gitlab.winehq.org/wine/wine/-/commit/8cf48e5014b44300604bebfcde1c01d840790fb6

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Fri May 27 15:55:55 2022 -0500

wined3d: Pause transform feedback in wined3d_context_gl_draw_shaded_quad().

---

 dlls/wined3d/context_gl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/wined3d/context_gl.c b/dlls/wined3d/context_gl.c
index 0d80aa8596f..a2d06039caa 100644
--- a/dlls/wined3d/context_gl.c
+++ b/dlls/wined3d/context_gl.c
@@ -5944,6 +5944,8 @@ void wined3d_context_gl_draw_shaded_quad(struct wined3d_context_gl *context_gl,
     apply_texture_blit_state(gl_info, &texture_gl->texture_rgb, info.bind_target, level, filter);
     gl_info->gl_ops.gl.p_glTexParameteri(info.bind_target, GL_TEXTURE_MAX_LEVEL, level);
 
+    wined3d_context_gl_pause_transform_feedback(context_gl, FALSE);
+
     wined3d_context_gl_get_rt_size(context_gl, &dst_size);
     w = dst_size.cx;
     h = dst_size.cy;




More information about the wine-cvs mailing list