nicer output to terminal in Position callback

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1481 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2012-11-23 08:22:28 +00:00
parent 409ca5b133
commit 95b2935ce9

View File

@ -168,7 +168,7 @@ void Position(int x, int y)
{
int win = glutGetWindow();
printf("position %s, %dx%d\n",win==nWindow?"main":"child",
printf("position, %s: %dx%d\n",win==nWindow?"top-left of main":"top-left of child relative to parent",
x, y);
}