Panels do not use colors, new string for fullscreen mode Halftone.
This commit is contained in:
parent
3e5b136c2c
commit
85bf1dc181
2 changed files with 10 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue