Skip to content

Commit

Permalink
Fix var.width/var.height. They actually mean display size. See #65
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 8, 2013
1 parent c82ea82 commit ce15222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/bcm2708_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ static int bcm2708_fb_register(struct bcm2708_fb *fb)
fb->fb.var.vmode = FB_VMODE_NONINTERLACED;
fb->fb.var.activate = FB_ACTIVATE_NOW;
fb->fb.var.nonstd = 0;
fb->fb.var.height = fbwidth;
fb->fb.var.width = fbheight;
fb->fb.var.height = -1; /* height of picture in mm */
fb->fb.var.width = -1; /* width of picture in mm */
fb->fb.var.accel_flags = 0;

fb->fb.monspecs.hfmin = 0;
Expand Down

0 comments on commit ce15222

Please sign in to comment.