projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed unsafe usage of malloc() pointed out by jtsiomb.
[freeglut]
/
src
/
x11
/
fg_gamemode_x11.c
diff --git
a/src/x11/fg_gamemode_x11.c
b/src/x11/fg_gamemode_x11.c
index
c329ddc
..
35eb455
100644
(file)
--- a/
src/x11/fg_gamemode_x11.c
+++ b/
src/x11/fg_gamemode_x11.c
@@
-1,5
+1,5
@@
/*
/*
- * freeglut_gamemode_x11.c
+ * fg_gamemode_x11.c
*
* The game mode handling code.
*
*
* The game mode handling code.
*
@@
-75,7
+75,7
@@
static int xrandr_resize(int xsz, int ysz, int rate, int just_checking)
XRRScreenConfiguration *xrr_config = 0;
Status result = -1;
XRRScreenConfiguration *xrr_config = 0;
Status result = -1;
- /* NOTE: we have already determined that XR&R is availble and enabled before calling this */
+ /* NOTE: we have already determined that XR&R is available and enabled before calling this */
XRRQueryVersion(fgDisplay.pDisplay.Display, &ver_major, &ver_minor);
XRRQueryVersion(fgDisplay.pDisplay.Display, &ver_major, &ver_minor);
@@
-572,7
+572,7
@@
void fgPlatformEnterGameMode( void )
* more changes and investigation.
*/
* more changes and investigation.
*/
- /* Get the current postion of the drawable area on screen */
+ /* Get the current position of the drawable area on screen */
XTranslateCoordinates(
fgDisplay.pDisplay.Display,
fgStructure.CurrentWindow->Window.Handle,
XTranslateCoordinates(
fgDisplay.pDisplay.Display,
fgStructure.CurrentWindow->Window.Handle,