dont render gradients that are missing

This commit is contained in:
Dana Jansens 2003-03-23 19:43:15 +00:00
parent 80c7f14520
commit 5f44c45f06

View file

@ -28,6 +28,7 @@ void gradient_render(Surface *sf, int w, int h)
break; break;
default: default:
g_message("unhandled gradient"); g_message("unhandled gradient");
return;
} }
if (sf->data.planar.relief == Flat && sf->data.planar.border) { if (sf->data.planar.relief == Flat && sf->data.planar.border) {