mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 17:26:06 +00:00
Removed two printouts to stdout I inadvertently introduced
This commit is contained in:
parent
d546d6961c
commit
9e356c40f4
@ -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;
|
||||||
|
@ -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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user