Commented out some sf::Err useless reports
This commit is contained in:
parent
d80808b61d
commit
b5008ba01b
@ -366,11 +366,11 @@ NSUInteger KeepOnlyMaskFromData(NSUInteger data, NSUInteger mask);
|
|||||||
if (button != sf::Mouse::ButtonCount) {
|
if (button != sf::Mouse::ButtonCount) {
|
||||||
myRequester->MouseDownAt(button, loc.x, loc.y);
|
myRequester->MouseDownAt(button, loc.x, loc.y);
|
||||||
}
|
}
|
||||||
#ifdef SFML_DEBUG
|
//#ifdef SFML_DEBUG
|
||||||
else {
|
// else {
|
||||||
sf::Err() << "Unknown mouse button released." << std::endl;
|
// sf::Err() << "Unknown mouse button released." << std::endl;
|
||||||
}
|
// }
|
||||||
#endif
|
//#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -386,11 +386,11 @@ NSUInteger KeepOnlyMaskFromData(NSUInteger data, NSUInteger mask);
|
|||||||
if (button != sf::Mouse::ButtonCount) {
|
if (button != sf::Mouse::ButtonCount) {
|
||||||
myRequester->MouseUpAt(button, loc.x, loc.y);
|
myRequester->MouseUpAt(button, loc.x, loc.y);
|
||||||
}
|
}
|
||||||
#ifdef SFML_DEBUG
|
//#ifdef SFML_DEBUG
|
||||||
else {
|
// else {
|
||||||
sf::Err() << "Unknown mouse button released." << std::endl;
|
// sf::Err() << "Unknown mouse button released." << std::endl;
|
||||||
}
|
// }
|
||||||
#endif
|
//#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -966,15 +966,15 @@ NSUInteger KeepOnlyMaskFromData(NSUInteger data, NSUInteger mask);
|
|||||||
key.Code = sf::priv::HIDInputManager::NonLocalizedKeys([anEvent keyCode]);
|
key.Code = sf::priv::HIDInputManager::NonLocalizedKeys([anEvent keyCode]);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SFML_DEBUG // Don't bother the final customers with annoying messages.
|
//#ifdef SFML_DEBUG // Don't bother the final customers with annoying messages.
|
||||||
if (key.Code == sf::Keyboard::KeyCount) { // The key is unknown.
|
// if (key.Code == sf::Keyboard::KeyCount) { // The key is unknown.
|
||||||
sf::Err() << "This is an unknow key. Virtual key code is 0x"
|
// sf::Err() << "This is an unknow key. Virtual key code is 0x"
|
||||||
<< std::hex
|
// << std::hex
|
||||||
<< [anEvent keyCode]
|
// << [anEvent keyCode]
|
||||||
<< "."
|
// << "."
|
||||||
<< std::endl;
|
// << std::endl;
|
||||||
}
|
// }
|
||||||
#endif
|
//#endif
|
||||||
|
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user