Show unhandled SDL events in hexadecimal (easier to compare with the enum)

openmw-30
scrawl 11 years ago
parent 7bddfc0025
commit eff648e3ab

@ -115,7 +115,7 @@ namespace SFO
mWindowListener->windowClosed(); mWindowListener->windowClosed();
break; break;
default: default:
std::cerr << "Unhandled SDL event of type " << evt.type << std::endl; std::cerr << "Unhandled SDL event of type 0x" << std::hex << evt.type << std::endl;
break; break;
} }
} }

Loading…
Cancel
Save