VirtualBox

Ignore:
Timestamp:
Sep 14, 2009 11:47:13 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52277
Message:

Logging changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h

    r22951 r22993  
    3030#define VBOXVHWA_ALLOW_PRIMARY_AND_OVERLAY_ONLY 1
    3131
    32 #ifdef DEBUG
    33 #include "iprt/stream.h"
    34 #define VBOXQGLLOG(_m) RTPrintf _m
    35 #define VBOXQGLLOGREL(_m) do { RTPrintf _m ; LogRel( _m ); } while(0)
     32#if defined(DEBUG) && !defined(DEBUG_sandervl)
     33# include "iprt/stream.h"
     34# define VBOXQGLLOG(_m) RTPrintf _m
     35# define VBOXQGLLOGREL(_m) do { RTPrintf _m ; LogRel( _m ); } while(0)
    3636#else
    37 #define VBOXQGLLOG(_m)
    38 #define VBOXQGLLOGREL(_m) LogRel( _m )
     37# define VBOXQGLLOG(_m)    do {}while(0)
     38# define VBOXQGLLOGREL(_m) LogRel( _m )
    3939#endif
    4040#define VBOXQGLLOG_ENTER(_m)
     
    4343//do{VBOXQGLLOG(("<==[%s]:", __FUNCTION__)); VBOXQGLLOG(_m);}while(0)
    4444#ifdef DEBUG
    45 #define VBOXQGL_ASSERTNOERR() \
     45 #define VBOXQGL_ASSERTNOERR() \
    4646    do { GLenum err = glGetError(); \
    4747        if(err != GL_NO_ERROR) VBOXQGLLOG(("gl error ocured (0x%x)\n", err)); \
     
    4949    }while(0)
    5050
    51 #define VBOXQGL_CHECKERR(_op) \
     51 #define VBOXQGL_CHECKERR(_op) \
    5252    do { \
    5353        glGetError(); \
     
    5656    }while(0)
    5757#else
    58 #define VBOXQGL_ASSERTNOERR() \
     58 #define VBOXQGL_ASSERTNOERR() \
    5959    do {}while(0)
    6060
    61 #define VBOXQGL_CHECKERR(_op) \
     61 #define VBOXQGL_CHECKERR(_op) \
    6262    do { \
    6363        _op \
Note: See TracChangeset for help on using the changeset viewer.

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