From: Matteo Bruni Subject: [PATCH 4/5] wined3d: Don't run check_filter() on core contexts. Message-Id: <1436479581-6350-4-git-send-email-mbruni@codeweavers.com> Date: Fri, 10 Jul 2015 00:06:20 +0200 The code uses glBegin() / glEnd() and other APIs removed from core profile. --- In theory we could fix check_filter() to work on core profile but it doesn't seem to be useful there. --- dlls/wined3d/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 48f6671..817292d 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -2273,7 +2273,7 @@ static void init_format_filter_info(struct wined3d_gl_info *gl_info, enum wined3 /* This was already handled by init_format_texture_info(). */ return; - if(wined3d_settings.offscreen_rendering_mode != ORM_FBO) + if (wined3d_settings.offscreen_rendering_mode != ORM_FBO || !gl_info->supported[WINED3D_GL_LEGACY_CONTEXT]) { WARN("No FBO support, or no FBO ORM, guessing filter info from GL caps\n"); if (vendor == HW_VENDOR_NVIDIA && gl_info->supported[ARB_TEXTURE_FLOAT]) -- 2.3.6