Fix Second Framebuffer's position calculation
[platform/core/system/initrd-recovery.git] / src / librui / fbdev.h
index 0b19be1..2949820 100644 (file)
@@ -30,11 +30,12 @@ extern "C" {
 #endif
 
 typedef struct {
-        int                             fd,
-                displayed_buffer;
-        gr_surface                      gr_draw;
-        GRSurface                       gr_framebuffer[2];
-        struct fb_var_screeninfo        vi;
+       int                             fd,
+                                       displayed_buffer;
+       gr_surface                      gr_draw;
+       GRSurface                       gr_framebuffer[2];
+       struct fb_var_screeninfo        vi;
+       struct fb_fix_screeninfo        fi;
 } fbdev_common;
 
 bool fbdev_init_common(gr_backend *backend);