From 600f6d5a8fed0b23a9237747ed86ec81740b402f Mon Sep 17 00:00:00 2001 From: fayjf 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: https://svn.code.sf.net/p/freeglut/code/trunk@873 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freeglut/freeglut/src/freeglut_init.c b/freeglut/freeglut/src/freeglut_init.c index c96ca10..7cccc35 100644 --- a/freeglut/freeglut/src/freeglut_init.c +++ b/freeglut/freeglut/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 */