VirtualBox

Changeset 41425 in vbox


Ignore:
Timestamp:
May 23, 2012 7:40:51 PM (13 years ago)
Author:
vboxsync
Message:

wined3d: even more logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/vbox/libWineStub/include/wine/debug.h

    r39602 r41425  
    8484# define ASSERT_D3D(_e) _ERR_CHECK_ASSERT(D3DErr, _e)
    8585#else
    86 # define ERR_D3D() do {} while (0)
    87 # define ASSERT_D3D(_e) do {} while (0)
     86# define ERR_D3D() ERR("Error!");
     87# define ASSERT_D3D(_e) do { \
     88        if (RT_UNLIKELY(!(_e))) \
     89        { \
     90            ERR("Error: Assertion failure expr (%s)", #_e); \
     91        } \
     92    } while (0)
    8893#endif /* #ifdef VBOX_WINE_DEBUG */
    8994
     
    355360
    356361#ifdef DEBUG_misha
    357 # define VBOXWINEDBG_SHADERS
     362//# define VBOXWINEDBG_SHADERS
    358363#endif
    359364
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