dont render gradients that are missing
This commit is contained in:
parent
80c7f14520
commit
5f44c45f06
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue