fixed small bug (no need to test target pixmap in direct rendering mode)

This commit is contained in:
David Turner 2000-12-14 21:24:27 +00:00
parent 8f1d086128
commit 86564229c3
1 changed files with 3 additions and 3 deletions

View File

@ -3260,13 +3260,13 @@
if ( outline->n_points != outline->contours[outline->n_contours - 1] + 1 )
return Raster_Err_Invalid;
if ( !target_map || !target_map->buffer )
return Raster_Err_Invalid;
/* this version of the raster does not support direct rendering, sorry */
if ( params->flags & ft_raster_flag_direct )
return Raster_Err_Unsupported;
if ( !target_map || !target_map->buffer )
return Raster_Err_Invalid;
ras.outline = *outline;
ras.target = *target_map;