first real shoot : [done]

This commit is contained in:
2019-08-10 21:26:39 +02:00
parent 66cd54f3c6
commit 09cbe5b855
4 changed files with 38 additions and 7 deletions

View File

@@ -161,7 +161,7 @@ if ( ! fimg_type_is_valid(fimg->type) ) {
return -2;
}
size = fimg->width * fimg->height * fimg->type * sizeof(float);
size = fimg->width * fimg->height * fimg->type * sizeof(float);
memset(fimg->R, 0, size);
return 0;