[PATCH 5/5] wined3d: Downgrade the framebuffer attachment FIXMEs to WARNs.

Stefan Dösinger stefan at codeweavers.com
Tue Jun 9 02:28:10 CDT 2015


It seems that Geforce 7 GPUs don't allow 1D and 3D FBO attachments. That's not an
issue for us on these cards.

r200 refuses to render to WINED3DFMT_R8G8B8A8_UNORM. Also not much of an issue for
a pre-d3d10 GPU.
---
 dlls/wined3d/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 62158a0..44ba7ad 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -1608,7 +1608,7 @@ static void check_fbo_compat(const struct wined3d_gl_info *gl_info, struct wined
             {
                 if (format->flags[type] & WINED3DFMT_FLAG_RENDERTARGET)
                 {
-                    FIXME("Format %s with rendertarget flag is not supported as FBO color attachment (type %u),"
+                    WARN("Format %s with rendertarget flag is not supported as FBO color attachment (type %u),"
                             " and no fallback specified.\n", debug_d3dformat(format->id), type);
                     format->flags[type] &= ~WINED3DFMT_FLAG_RENDERTARGET;
                 }
@@ -1642,7 +1642,7 @@ static void check_fbo_compat(const struct wined3d_gl_info *gl_info, struct wined
                 }
                 else
                 {
-                    FIXME("Format %s rtInternal format is not supported as FBO %s attachment, type %u.\n",
+                    WARN("Format %s rtInternal format is not supported as FBO %s attachment, type %u.\n",
                             debug_d3dformat(format->id), type_string, type);
                     format->flags[type] &= ~WINED3DFMT_FLAG_RENDERTARGET;
                 }
-- 
2.3.6




More information about the wine-patches mailing list