(Windows) Improved error message on window creation failure
Former-commit-id: b00a5bc1511505bce2f1c34f32be662bee47cbf9
This commit is contained in:
parent
74c4e93884
commit
371f899776
|
|
@ -160,7 +160,10 @@ bool NzWindowImpl::Create(const NzVideoMode& mode, const NzString& title, nzUInt
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!m_handle)
|
if (!m_handle)
|
||||||
|
{
|
||||||
|
NazaraError("Failed to create window: " + NzError::GetLastSystemError());
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (fullscreen)
|
if (fullscreen)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue