some tests added...

This commit is contained in:
2020-01-10 12:01:12 +01:00
parent e51888b206
commit 0104a736ea
5 changed files with 85 additions and 17 deletions

View File

@@ -91,6 +91,11 @@ if ( ! fimg_type_is_valid(t) ) {
return -2;
}
/*
* what to do if we've got a descriptor for an image
* already allocated ?
*/
memset(fimg, 0, sizeof(FloatImg));
surface = w * h;