mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Do not track clipboard on mobile systems to avoid permissions prompt
This commit is contained in:
@@ -85,7 +85,7 @@ SDL_Surface * CSDL_Ext::newSurface(const Point & dimensions, SDL_Surface * mod)
|
||||
std::string messagePattern = "Failed to create SDL Surface of size %d x %d, %d bpp. Reason: %s";
|
||||
std::string message = boost::str(boost::format(messagePattern) % dimensions.x % dimensions.y % mod->format->BitsPerPixel % error);
|
||||
|
||||
handleFatalError(message, true);
|
||||
throw std::runtime_error(message);
|
||||
}
|
||||
|
||||
if (mod->format->palette)
|
||||
|
||||
Reference in New Issue
Block a user