From 1ad485ff83950a99f19ad95058b34842219dc5a9 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 11 Jun 2009 10:24:30 +0200 Subject: [PATCH] wined3d: Improve some TRACEs in init_format_fbo_compat_info(). --- dlls/wined3d/utils.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 55c806bb99b..211e71770d0 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -598,13 +598,15 @@ static void init_format_fbo_compat_info(WineD3D_GL_Info *gl_info) if (wined3d_settings.offscreen_rendering_mode == ORM_FBO) { + TRACE("Checking if format %s is supported as FBO color attachment...\n", debug_d3dformat(desc->format)); + /* Check if the default internal format is supported as a frame buffer target, otherwise * fall back to the render target internal. * * Try to stick to the standard format if possible, this limits precision differences. */ if (check_fbo_compat(gl_info, desc->glInternal, desc->glFormat, desc->glType)) { - TRACE("Format %s is supported as fbo target\n", debug_d3dformat(desc->format)); + TRACE("Format %s is supported as FBO color attachment\n", debug_d3dformat(desc->format)); desc->Flags |= WINED3DFMT_FLAG_FBO_ATTACHABLE; desc->rtInternal = desc->glInternal; } @@ -614,15 +616,19 @@ static void init_format_fbo_compat_info(WineD3D_GL_Info *gl_info) { if (desc->Flags & WINED3DFMT_FLAG_RENDERTARGET) { - FIXME("Internal format of %s not supported as FBO target, and no fallback specified.\n", - debug_d3dformat(desc->format)); + FIXME("Format %s with rendertarget flag is not supported as FBO color attachment," + " and no fallback specified.\n", debug_d3dformat(desc->format)); desc->Flags &= ~WINED3DFMT_FLAG_RENDERTARGET; } + else + { + TRACE("Format %s is not supported as FBO color attachment.\n", debug_d3dformat(desc->format)); + } desc->rtInternal = desc->glInternal; } else { - TRACE("Internal format of %s not supported as FBO target, using render target internal instead.\n", + TRACE("Format %s is not supported as FBO color attachment, using rtInternal format as fallback.\n", debug_d3dformat(desc->format)); } } -- 2.11.4.GIT