Clear old contents before recompositing to prevent ad-hoc fade effect

calculate-0.9.5
Ray Strode 16 years ago
parent 6a2fba76c1
commit a4b92f435e

@ -543,6 +543,9 @@ draw_password_entry (ply_boot_splash_plugin_t *plugin)
entry_area.x = plugin->entry->x;
entry_area.y = plugin->entry->y;
ply_frame_buffer_fill_with_color (plugin->frame_buffer, &entry_area,
0.1, 0.1, .7, 1.0);
ply_frame_buffer_fill_with_argb32_data (plugin->frame_buffer,
&entry_area, 0, 0,
entry_data);
@ -556,6 +559,8 @@ draw_password_entry (ply_boot_splash_plugin_t *plugin)
lock_area.x = x;
lock_area.y = y;
ply_frame_buffer_fill_with_color (plugin->frame_buffer, &lock_area,
0.1, 0.1, .7, 1.0);
ply_frame_buffer_fill_with_argb32_data (plugin->frame_buffer,
&lock_area, 0, 0,
lock_data);

Loading…
Cancel
Save