Commits

Pierre Joye committed b633499

missing default init for interpolation method

  • Participants
  • Parent commits d8e19af

Comments (0)

Files changed (1)

 	im->cy2 = im->sy - 1;
 	im->res_x = GD_RESOLUTION;
 	im->res_y = GD_RESOLUTION;
+	im->interpolation = NULL;
+	im->interpolation_id = GD_BILINEAR_FIXED;
 	return im;
 }
 
 	im->cy2 = im->sy - 1;
 	im->res_x = GD_RESOLUTION;
 	im->res_y = GD_RESOLUTION;
+	im->interpolation = NULL;
+	im->interpolation_id = GD_BILINEAR_FIXED;
 	return im;
 }