From e951e2cfe0617bda21fed114494095137925ff6e Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Sat, 30 Jan 2010 00:03:48 +0000 Subject: [PATCH] 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 --- src/freeglut_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 1.7.10.4