normalizing line endings..
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1565 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
3d935ff946
commit
eca6fc6749
@ -229,9 +229,9 @@ void Redisplay(void)
|
|||||||
glutPostWindowRedisplay(win);
|
glutPostWindowRedisplay(win);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Timer(int unused)
|
void Timer(int unused)
|
||||||
{
|
{
|
||||||
int win = glutGetWindow();
|
int win = glutGetWindow();
|
||||||
int border, caption;
|
int border, caption;
|
||||||
|
|
||||||
nPosX = glutGet(GLUT_WINDOW_X);
|
nPosX = glutGet(GLUT_WINDOW_X);
|
||||||
@ -260,10 +260,10 @@ void Timer(int unused)
|
|||||||
else
|
else
|
||||||
printf("child window %dx%d, top-left of client at: (%d,%d), relative to parent\n",
|
printf("child window %dx%d, top-left of client at: (%d,%d), relative to parent\n",
|
||||||
nWidth, nHeight,
|
nWidth, nHeight,
|
||||||
nPosX ,nPosY);
|
nPosX ,nPosY);
|
||||||
|
|
||||||
/* (re)set the timer callback and ask glut to call it in 500 ms */
|
/* (re)set the timer callback and ask glut to call it in 500 ms */
|
||||||
glutTimerFunc(500, Timer, 0);
|
glutTimerFunc(500, Timer, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user