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);
|
||||
}
|
||||
|
||||
void Timer(int unused)
|
||||
{
|
||||
int win = glutGetWindow();
|
||||
void Timer(int unused)
|
||||
{
|
||||
int win = glutGetWindow();
|
||||
int border, caption;
|
||||
|
||||
nPosX = glutGet(GLUT_WINDOW_X);
|
||||
@ -260,10 +260,10 @@ void Timer(int unused)
|
||||
else
|
||||
printf("child window %dx%d, top-left of client at: (%d,%d), relative to parent\n",
|
||||
nWidth, nHeight,
|
||||
nPosX ,nPosY);
|
||||
|
||||
/* (re)set the timer callback and ask glut to call it in 500 ms */
|
||||
glutTimerFunc(500, Timer, 0);
|
||||
nPosX ,nPosY);
|
||||
|
||||
/* (re)set the timer callback and ask glut to call it in 500 ms */
|
||||
glutTimerFunc(500, Timer, 0);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user