[PATCH 5/5] wined3d: Don't install fog compatibility wrappers in core profile contexts.
Matteo Bruni
mbruni at codeweavers.com
Thu Jul 9 17:06:21 CDT 2015
---
dlls/wined3d/gl_compat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/gl_compat.c b/dlls/wined3d/gl_compat.c
index a50d5c4..9c4570a 100644
--- a/dlls/wined3d/gl_compat.c
+++ b/dlls/wined3d/gl_compat.c
@@ -385,7 +385,7 @@ void add_gl_compat_wrappers(struct wined3d_gl_info *gl_info)
gl_info->supported[ARB_MULTITEXTURE] = TRUE;
}
- if (!gl_info->supported[EXT_FOG_COORD])
+ if (!gl_info->supported[EXT_FOG_COORD] && gl_info->supported[WINED3D_GL_LEGACY_CONTEXT])
{
/* This emulation isn't perfect. There are a number of potential problems, but they should
* not matter in practise:
--
2.3.6
More information about the wine-patches
mailing list