Changeset 22993 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 14, 2009 11:47:13 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 52277
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h
r22951 r22993 30 30 #define VBOXVHWA_ALLOW_PRIMARY_AND_OVERLAY_ONLY 1 31 31 32 #if def DEBUG33 # include "iprt/stream.h"34 # define VBOXQGLLOG(_m) RTPrintf _m35 # 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) 36 36 #else 37 # define VBOXQGLLOG(_m)38 # define VBOXQGLLOGREL(_m) LogRel( _m )37 # define VBOXQGLLOG(_m) do {}while(0) 38 # define VBOXQGLLOGREL(_m) LogRel( _m ) 39 39 #endif 40 40 #define VBOXQGLLOG_ENTER(_m) … … 43 43 //do{VBOXQGLLOG(("<==[%s]:", __FUNCTION__)); VBOXQGLLOG(_m);}while(0) 44 44 #ifdef DEBUG 45 #define VBOXQGL_ASSERTNOERR() \45 #define VBOXQGL_ASSERTNOERR() \ 46 46 do { GLenum err = glGetError(); \ 47 47 if(err != GL_NO_ERROR) VBOXQGLLOG(("gl error ocured (0x%x)\n", err)); \ … … 49 49 }while(0) 50 50 51 #define VBOXQGL_CHECKERR(_op) \51 #define VBOXQGL_CHECKERR(_op) \ 52 52 do { \ 53 53 glGetError(); \ … … 56 56 }while(0) 57 57 #else 58 #define VBOXQGL_ASSERTNOERR() \58 #define VBOXQGL_ASSERTNOERR() \ 59 59 do {}while(0) 60 60 61 #define VBOXQGL_CHECKERR(_op) \61 #define VBOXQGL_CHECKERR(_op) \ 62 62 do { \ 63 63 _op \
Note:
See TracChangeset
for help on using the changeset viewer.