[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:
Scott James Remnant 2010-03-02 18:21:15 +00:00
parent 9795c9b561
commit d35a13c44b

View file

@ -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)