projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4826072
)
Adding a more comprehensive warning message if "CreateDC" failed, per e-mail from...
author
John F. Fay
<johnffay@nettally.com>
Sat, 30 Jan 2010 00:03:48 +0000
(
00:03
+0000)
committer
John F. Fay
<johnffay@nettally.com>
Sat, 30 Jan 2010 00:03:48 +0000
(
00:03
+0000)
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
patch
|
blob
|
history
diff --git
a/src/freeglut_init.c
b/src/freeglut_init.c
index
c96ca10
..
7cccc35
100644
(file)
--- 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 */