Index: lib/gfxconsole/gfxconsole.c |
diff --git a/lib/gfxconsole/gfxconsole.c b/lib/gfxconsole/gfxconsole.c |
index eb208c537207f6101ff9016d4ea34b3fdf3048a3..f874f6500a9f309d78ebdc1eba84cfde8ca7605d 100644 |
--- a/lib/gfxconsole/gfxconsole.c |
+++ b/lib/gfxconsole/gfxconsole.c |
@@ -164,11 +164,11 @@ void gfxconsole_start_on_display(void) |
return; |
/* pop up the console */ |
- struct display_info info; |
- if (display_get_info(&info) < 0) |
+ struct display_framebuffer fb; |
+ if (display_get_framebuffer(&fb) < 0) |
return; |
- gfx_surface *s = gfx_create_surface_from_display(&info); |
+ gfx_surface *s = gfx_create_surface_from_display(&fb); |
gfxconsole_start(s); |
started = true; |
} |