projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding a more comprehensive warning message if "CreateDC" failed, per e-mail from...
[freeglut]
/
src
/
freeglut_init.c
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: "
}
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 */
}
/* Set the timer granularity to 1 ms */