Fix re-alloc surface

This commit is contained in:
jaburns
2020-10-17 12:46:38 -06:00
parent ee4e73977b
commit 43c99a9721
-2
View File
@@ -70,8 +70,6 @@ static void read_surface_data( struct Surface *surface, int16_t type, int16_t fo
ny *= mag;
nz *= mag;
surface = malloc(sizeof(struct Surface));
surface->vertex1[0] = x1;
surface->vertex2[0] = x2;
surface->vertex3[0] = x3;