mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +00:00
* grub-core/video/capture.c: Do not do finalization when .fini
is called as there is explicit capture_end.
This commit is contained in:
1 parent
4fa60739f2
commit
e44b9a8349
2 files changed
+12
-1
No files matched your search
@@ -31,6 +31,12 @@ grub_video_capture_set_active_render_target (struct grub_video_render_target *ta
|
||||
return grub_video_fb_set_active_render_target (target);
|
||||
}
|
||||
|
||||
static grub_err_t
|
||||
grub_video_capture_fini (void)
|
||||
{
|
||||
return GRUB_ERR_NONE;
|
||||
}
|
||||
|
||||
static struct grub_video_adapter grub_video_capture_adapter =
|
||||
{
|
||||
.name = "Render capture",
|
||||
@@ -38,7 +44,7 @@ static struct grub_video_adapter grub_video_capture_adapter =
|
||||
.prio = 0,
|
||||
.id = GRUB_VIDEO_ADAPTER_CAPTURE,
|
||||
|
||||
.fini = grub_video_fb_fini,
|
||||
.fini = grub_video_capture_fini,
|
||||
.get_info = grub_video_fb_get_info,
|
||||
.get_info_and_fini = 0,
|
||||
.set_palette = grub_video_fb_set_palette,
|
||||
|
||||
Reference in new issue
Block a user