Browse Source

Allow disabling logs in Window class (#80)

* Allow disabling logs in Window class

* Replace DISABLE_WINDOW_LOGS with DGL_DEBUG_EVENTS
pull/83/head
Patrick Desaulniers Filipe Coelho <falktx@falktx.com> 6 years ago
parent
commit
fe371d491d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dgl/src/Window.cpp

+ 1
- 1
dgl/src/Window.cpp View File

@@ -61,7 +61,7 @@ extern "C" {
#define FOR_EACH_WIDGET_INV(rit) \
for (std::list<Widget*>::reverse_iterator rit = fWidgets.rbegin(); rit != fWidgets.rend(); ++rit)

#ifdef DEBUG
#if defined(DEBUG) && defined(DGL_DEBUG_EVENTS)
# define DBG(msg) std::fprintf(stderr, "%s", msg);
# define DBGp(...) std::fprintf(stderr, __VA_ARGS__);
# define DBGF std::fflush(stderr);


Loading…
Cancel
Save