[PATCH v2 3/5] wined3d: Disable the ARBfp blitter on core profile.
Matteo Bruni
mbruni at codeweavers.com
Tue Sep 12 14:22:29 CDT 2017
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
v2: Just disable the blitter, leave the extensions be.
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 677a5d1d8a..8f2f0e804e 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");
--
2.13.5
More information about the wine-patches
mailing list