Matteo Bruni : wined3d: Disable the ARBfp blitter on core profile.
Module: wine Branch: master Commit: 1378e623caa53e9f56d3e21c1dd35161e6d02814 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1378e623caa53e9f56d3e21c1d... Author: Matteo Bruni <mbruni(a)codeweavers.com> Date: Tue Sep 12 21:22:29 2017 +0200 wined3d: Disable the ARBfp blitter on core profile. Signed-off-by: Matteo Bruni <mbruni(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/arb_program_shader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index 677a5d1..8f2f0e8 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -7910,6 +7910,9 @@ void wined3d_arbfp_blitter_create(struct wined3d_blitter **next, const struct wi if (!gl_info->supported[ARB_FRAGMENT_PROGRAM]) return; + if (!gl_info->supported[WINED3D_GL_LEGACY_CONTEXT]) + return; + if (!(blitter = HeapAlloc(GetProcessHeap(), 0, sizeof(*blitter)))) { ERR("Failed to allocate blitter.\n");
participants (1)
-
Alexandre Julliard