From: Chip Davis Subject: [PATCH 3/4] wined3d: Don't bother enabling NV_texgen_reflection for core contexts. Message-Id: <20200409062135.33872-3-cdavis@codeweavers.com> Date: Thu, 9 Apr 2020 01:21:34 -0500 In-Reply-To: <20200409062135.33872-2-cdavis@codeweavers.com> References: <20200409062135.33872-1-cdavis@codeweavers.com> <20200409062135.33872-2-cdavis@codeweavers.com> Signed-off-by: Chip Davis --- dlls/wined3d/adapter_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/adapter_gl.c b/dlls/wined3d/adapter_gl.c index a38033fd98c..5f5caa0981a 100644 --- a/dlls/wined3d/adapter_gl.c +++ b/dlls/wined3d/adapter_gl.c @@ -3604,7 +3604,7 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter, * functionality. Prefer the ARB extension */ gl_info->supported[APPLE_FLUSH_BUFFER_RANGE] = FALSE; } - if (gl_info->supported[ARB_TEXTURE_CUBE_MAP]) + if (gl_info->supported[ARB_TEXTURE_CUBE_MAP] && gl_info->supported[WINED3D_GL_LEGACY_CONTEXT]) { TRACE(" IMPLIED: NVIDIA (NV) Texture Gen Reflection support.\n"); gl_info->supported[NV_TEXGEN_REFLECTION] = TRUE; -- 2.24.0