From: Toby C. <th...@us...> - 2006-04-16 21:11:06
|
Update of /cvsroot/playerstage/code/player/client_libs/libplayerc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18763/client_libs/libplayerc Modified Files: dev_graphics2d.c Log Message: update graphics 2d interface to be more xdr friendly Index: dev_graphics2d.c =================================================================== RCS file: /cvsroot/playerstage/code/player/client_libs/libplayerc/dev_graphics2d.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** dev_graphics2d.c 21 Feb 2006 21:06:59 -0000 1.6 --- dev_graphics2d.c 17 Apr 2006 04:11:01 -0000 1.7 *************** *** 88,92 **** /* limit the number of points we can draw */ count = MIN(count,PLAYER_GRAPHICS2D_MAX_POINTS); ! cmd.count = count; memcpy( &cmd.points, pts, sizeof(player_point_2d_t)*count); cmd.color = device->color; --- 88,92 ---- /* limit the number of points we can draw */ count = MIN(count,PLAYER_GRAPHICS2D_MAX_POINTS); ! cmd.points_count = count; memcpy( &cmd.points, pts, sizeof(player_point_2d_t)*count); cmd.color = device->color; *************** *** 106,110 **** /* limit the number of points we can draw */ count = MIN(count,PLAYER_GRAPHICS2D_MAX_POINTS); ! cmd.count = count; memcpy( &cmd.points, pts, sizeof(player_point_2d_t)*count); cmd.color = device->color; --- 106,110 ---- /* limit the number of points we can draw */ count = MIN(count,PLAYER_GRAPHICS2D_MAX_POINTS); ! cmd.points_count = count; memcpy( &cmd.points, pts, sizeof(player_point_2d_t)*count); cmd.color = device->color; *************** *** 125,129 **** /* limit the number of points we can draw */ count = MIN(count,PLAYER_GRAPHICS2D_MAX_POINTS); ! cmd.count = count; memcpy( &cmd.points, pts, sizeof(player_point_2d_t)*count); cmd.color = device->color; --- 125,129 ---- /* limit the number of points we can draw */ count = MIN(count,PLAYER_GRAPHICS2D_MAX_POINTS); ! cmd.points_count = count; memcpy( &cmd.points, pts, sizeof(player_point_2d_t)*count); cmd.color = device->color; |