Adding a more comprehensive warning message if "CreateDC" failed, per e-mail from Eero Pajarre dated 1/29/10, 5:26 AM
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@873 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
e20faf7c03
commit
600f6d5a8f
@ -377,7 +377,8 @@ static void fghInitialize( const char* displayName )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
fgWarning("fghInitialize: "
|
fgWarning("fghInitialize: "
|
||||||
"CreateDC failed, Screen size info may be incorrect");
|
"CreateDC failed, Screen size info may be incorrect\n"
|
||||||
|
"This is quite likely caused by a bad '-display' parameter");
|
||||||
|
|
||||||
}
|
}
|
||||||
/* Set the timer granularity to 1 ms */
|
/* Set the timer granularity to 1 ms */
|
||||||
|
Reference in New Issue
Block a user