From: John F. Fay Date: Sat, 30 Jan 2010 00:03:48 +0000 (+0000) Subject: Adding a more comprehensive warning message if "CreateDC" failed, per e-mail from... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=e951e2cfe0617bda21fed114494095137925ff6e;p=freeglut 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@873 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_init.c b/src/freeglut_init.c index c96ca10..7cccc35 100644 --- a/src/freeglut_init.c +++ b/src/freeglut_init.c @@ -377,7 +377,8 @@ static void fghInitialize( const char* displayName ) } else 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 */