mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 20:08:17 +02:00
[script] drop unused on_draw() function
The on_draw() function inside the script plugin isn't referenced anywhere, but references a static function from script-lib-sprite.c; if building without optimisation, it's possible that gcc won't elide this code so will fail during linking.
This commit is contained in:
parent
9795c9b561
commit
d35a13c44b
1 changed files with 0 additions and 13 deletions
|
|
@ -307,19 +307,6 @@ on_keyboard_input (ply_boot_splash_plugin_t *plugin,
|
|||
keyboard_string);
|
||||
}
|
||||
|
||||
static void
|
||||
on_draw (ply_boot_splash_plugin_t *plugin,
|
||||
ply_pixel_buffer_t *pixel_buffer,
|
||||
int x,
|
||||
int y,
|
||||
int width,
|
||||
int height)
|
||||
{
|
||||
script_lib_sprite_draw_area (plugin->script_sprite_lib,
|
||||
pixel_buffer,
|
||||
x, y, width, height);
|
||||
}
|
||||
|
||||
static void
|
||||
set_keyboard (ply_boot_splash_plugin_t *plugin,
|
||||
ply_keyboard_t *keyboard)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue