Replace assignment of array to struct with field-by-field assignment

suppress gcc -Wall -pendantic "noise"


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@428 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
nigels 2003-12-30 02:22:11 +00:00
parent ddd877b469
commit 1fdd04c554

View File

@ -253,7 +253,10 @@ void FGAPIENTRY glutWarpPointer( int x, int y )
#elif TARGET_HOST_WIN32 #elif TARGET_HOST_WIN32
{ {
POINT coords = { x, y }; POINT coords;
coords.x = x;
coords.y = y;
/* /*
* ClientToScreen() translates {coords} for us. * ClientToScreen() translates {coords} for us.
*/ */