[PATCH 3/6] wined3d: Disable ARB program extensions on core profile.

Matteo Bruni mbruni at codeweavers.com
Sun May 7 13:32:35 CDT 2017


None of the ARBfp shader backend, fragment pipe replacement or blitter
are currently in working condition in core profiles (nor they are
expected to be in the foreseeable future).

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
 dlls/wined3d/directx.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index cff8a9b..521a0a5 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -4007,7 +4007,9 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter,
      * profile contexts. */
     if (!gl_info->supported[WINED3D_GL_LEGACY_CONTEXT])
     {
+        gl_info->supported[ARB_FRAGMENT_PROGRAM] = FALSE;
         gl_info->supported[ARB_POINT_SPRITE] = FALSE;
+        gl_info->supported[ARB_VERTEX_PROGRAM] = FALSE;
         gl_info->supported[EXT_TEXTURE_LOD_BIAS] = FALSE;
     }
 
-- 
2.10.2




More information about the wine-patches mailing list