Removed two printouts to stdout I inadvertently introduced

This commit is contained in:
Andreas Löf 2016-01-02 22:51:56 +13:00
parent d546d6961c
commit 9e356c40f4
2 changed files with 0 additions and 3 deletions

View File

@ -443,7 +443,6 @@ void pump()
break; break;
case SDL_WINDOWEVENT_RESIZED: case SDL_WINDOWEVENT_RESIZED:
std::cout << "resize event: " << event.window.data1 << "x" << event.window.data2 << "\n";
info.resize_dimensions.first = event.window.data1; info.resize_dimensions.first = event.window.data1;
info.resize_dimensions.second = event.window.data2; info.resize_dimensions.second = event.window.data2;
break; break;

View File

@ -379,8 +379,6 @@ bool fullscreen()
void _set_resolution(const std::pair<int, int>& res) void _set_resolution(const std::pair<int, int>& res)
{ {
std::cout << "preferences set res: " << res.first << "x" << res.second << "\n";
const std::string postfix = fullscreen() ? "resolution" : "windowsize"; const std::string postfix = fullscreen() ? "resolution" : "windowsize";
preferences::set('x' + postfix, lexical_cast<std::string>(res.first)); preferences::set('x' + postfix, lexical_cast<std::string>(res.first));
preferences::set('y' + postfix, lexical_cast<std::string>(res.second)); preferences::set('y' + postfix, lexical_cast<std::string>(res.second));