VirtualBox

Ignore:
Timestamp:
May 26, 2011 8:50:49 AM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: fix google earth rendering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/libWine/debug.c

    r33656 r37216  
    4444#define MAX_DEBUG_OPTIONS 256
    4545
    46 static unsigned char default_flags = (1 << __WINE_DBCL_ERR) | (1 << __WINE_DBCL_FIXME);
     46static unsigned char default_flags = (1 << __WINE_DBCL_ERR) | (1 << __WINE_DBCL_FIXME) | (1 << __WINE_DBCL_WARN);
    4747static int nb_debug_options = -1;
    4848static struct __wine_debug_channel debug_options[MAX_DEBUG_OPTIONS];
     
    393393static int default_dbg_vprintf( const char *format, va_list args )
    394394{
    395     return vfprintf( stderr, format, args );
     395#ifdef DEBUG_leo
     396    static FILE *output=NULL;
     397    static int first_time = 1;
     398
     399    if (first_time)
     400    {   
     401        first_time = 0;
     402        output = fopen( "winelog.txt", "w" );
     403    }
     404
     405    if (output) vfprintf( output, format, args );
     406#endif
     407    return vfprintf( stdout, format, args );
    396408}
    397409
     
    404416
    405417    if (cls < sizeof(debug_classes)/sizeof(debug_classes[0]))
    406         ret += wine_dbg_printf( "%s:%s:%s ", debug_classes[cls], channel->name, func );
     418        ret += wine_dbg_printf( "%s:[%#x]:%s:%s ", debug_classes[cls], GetCurrentThreadId(), channel->name, func );
    407419    if (format)
    408420        ret += funcs.dbg_vprintf( format, args );
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette