Print "debug" when starting game compiled in debug mode.
This commit is contained in:
parent
1eeb944e68
commit
b0806e9e1c
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,10 @@ int main() {
|
||||||
cloonel::ushort2(REFERENCE_WIDTH, REFERENCE_HEIGHT)
|
cloonel::ushort2(REFERENCE_WIDTH, REFERENCE_HEIGHT)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#if !defined(NDEBUG)
|
||||||
|
std::cout << "Debug build\n";
|
||||||
|
#endif
|
||||||
|
|
||||||
int ret_val = 0;
|
int ret_val = 0;
|
||||||
try {
|
try {
|
||||||
sdl_main.Init();
|
sdl_main.Init();
|
||||||
|
|
Loading…
Add table
Reference in a new issue