= {{0}} generates a memset() in MSVC, which isn't linked. Whoops!
This commit is contained in:
parent
8c0d5be080
commit
aa5f318964
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue