[PATCH 5/5] wined3d: Get rid of a WARN() in init_format_filter_info().

Matteo Bruni mbruni at codeweavers.com
Wed Oct 6 08:53:58 CDT 2021


Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
We didn't update the float16 blend check for core contexts at the time
because it didn't seem worthwhile, as the only known GPUs / drivers
affected by the issue were NVIDIA GeForce 6 and 7 with the proprietary
driver. Nowadays the message is triggered with default settings and it
has become inaccurate and superfluous, so just get rid of it. The
existing traces in the individual branches below should be good enough.

 dlls/wined3d/utils.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 0a1e0707359..7e5a771933c 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -3427,7 +3427,6 @@ static void init_format_filter_info(struct wined3d_adapter *adapter,
     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])
         {
             TRACE("Nvidia card with texture_float support: Assuming float16 blending\n");
-- 
2.26.3




More information about the wine-devel mailing list