Panels do not use colors, new string for fullscreen mode Halftone.

This commit is contained in:
Pere Pujal i Carabantes 2021-10-06 00:31:57 +02:00
parent 3e5b136c2c
commit 85bf1dc181
2 changed files with 10 additions and 5 deletions

View file

@ -562,8 +562,10 @@ void perspective_set_color(magic_api * api ATTRIBUTE_UNUSED, Uint8 r, Uint8 g, U
}
// Use colors:
int perspective_requires_colors(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED)
int perspective_requires_colors(magic_api * api ATTRIBUTE_UNUSED, int which)
{
if (which == TOOL_PANELS)
return 0;
return 1;
}