Henri Verbeet : wined3d: Also print an attachment' s multisample type in context_check_fbo_status().

Alexandre Julliard julliard at winehq.org
Fri Aug 26 10:40:48 CDT 2011


Module: wine
Branch: master
Commit: 9aaf0a30b7209a94848b8a76c3d4e037dd8d556a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9aaf0a30b7209a94848b8a76c3d4e037dd8d556a

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Aug 25 21:04:59 2011 +0200

wined3d: Also print an attachment's multisample type in context_check_fbo_status().

---

 dlls/wined3d/context.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 33b07ce..829c570 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -253,17 +253,17 @@ void context_check_fbo_status(const struct wined3d_context *context, GLenum targ
             attachment = context->current_fbo->render_targets[i];
             if (attachment)
             {
-                FIXME("\tColor attachment %d: (%p) %s %ux%u\n",
+                FIXME("\tColor attachment %d: (%p) %s %ux%u %u samples.\n",
                         i, attachment, debug_d3dformat(attachment->resource.format->id),
-                        attachment->pow2Width, attachment->pow2Height);
+                        attachment->pow2Width, attachment->pow2Height, attachment->resource.multisample_type);
             }
         }
         attachment = context->current_fbo->depth_stencil;
         if (attachment)
         {
-            FIXME("\tDepth attachment: (%p) %s %ux%u\n",
+            FIXME("\tDepth attachment: (%p) %s %ux%u %u samples.\n",
                     attachment, debug_d3dformat(attachment->resource.format->id),
-                    attachment->pow2Width, attachment->pow2Height);
+                    attachment->pow2Width, attachment->pow2Height, attachment->resource.multisample_type);
         }
     }
 }




More information about the wine-cvs mailing list