mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 03:34:44 -05:00
= {{0}} generates a memset() in MSVC, which isn't linked. Whoops!
This commit is contained in:
@@ -391,11 +391,12 @@ static int dollarNormalize(const SDL_DollarPath *path,SDL_FloatPoint *points)
|
||||
|
||||
static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch)
|
||||
{
|
||||
|
||||
SDL_FloatPoint points[DOLLARNPOINTS] = {{0}};
|
||||
SDL_FloatPoint points[DOLLARNPOINTS];
|
||||
int i;
|
||||
float bestDiff = 10000;
|
||||
|
||||
SDL_memset(points, 0, sizeof(points));
|
||||
|
||||
dollarNormalize(path,points);
|
||||
|
||||
//PrintPath(points);
|
||||
|
||||
Reference in New Issue
Block a user