Allow error message to be formatted
This commit is contained in:
committed by
Jérôme Leclercq
parent
25957c4b7f
commit
a741672a51
@@ -14,14 +14,14 @@ namespace Nz
|
||||
inline Window::Window(VideoMode mode, const std::string& title, WindowStyleFlags style) :
|
||||
Window()
|
||||
{
|
||||
ErrorFlags flags(ErrorMode::ThrowException, true);
|
||||
ErrorFlags flags(ErrorMode::ThrowException);
|
||||
Create(mode, title, style);
|
||||
}
|
||||
|
||||
inline Window::Window(WindowHandle handle) :
|
||||
Window()
|
||||
{
|
||||
ErrorFlags flags(ErrorMode::ThrowException, true);
|
||||
ErrorFlags flags(ErrorMode::ThrowException);
|
||||
Create(handle);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user