| 106 | } |
| 107 | |
| 108 | std::string Configuration::getInfo() const |
| 109 | { |
| 110 | // And Dump some warnings as well |
| 111 | #if AX_ENABLE_PROFILERS |
| 112 | AXLOGD( |
| 113 | "axmol: **** WARNING **** AX_ENABLE_PROFILERS is defined. Disable it when you finish profiling (from " |
| 114 | "Config.h)\n"); |
| 115 | #endif |
| 116 | |
| 117 | #if AX_ENABLE_GL_STATE_CACHE == 0 |
| 118 | AXLOGD( |
| 119 | "axmol: **** WARNING **** AX_ENABLE_GL_STATE_CACHE is disabled. To improve performance, enable it (from " |
| 120 | "Config.h)\n"); |
| 121 | #endif |
| 122 | |
| 123 | // Dump |
| 124 | Value forDump = Value(_valueDict); |
| 125 | return forDump.getDescription(); |
| 126 | } |
| 127 | |
| 128 | void Configuration::gatherGPUInfo() |
| 129 | { |