]> git.pld-linux.org Git - packages/bogl.git/blob - bogl-0.1.9-2.6fbdev.patch
- release 11 (by relup.sh)
[packages/bogl.git] / bogl-0.1.9-2.6fbdev.patch
1 --- bogl/bogl.c.26fb    2004-01-29 17:08:06.000000000 -0500
2 +++ bogl/bogl.c 2004-02-17 20:49:01.396524931 -0500
3 @@ -136,7 +136,11 @@
4    if (-1 == ioctl (fb, FBIOGET_FSCREENINFO, &fb_fix)
5        || -1 == ioctl (fb, FBIOGET_VSCREENINFO, &fb_var))
6      return bogl_fail ("reading screen info: %s", strerror (errno));
7 -  
8 +
9 +  fb_var.activate = FB_ACTIVATE_NXTOPEN;
10 +  if (-1 == ioctl (fb, FBIOPUT_VSCREENINFO, &fb_var))
11 +      return bogl_fail ("setting fb screeninfo: %s", strerror (errno));
12 +
13    bogl_xres = fb_var.xres;
14    bogl_yres = fb_var.yres;
15    bogl_bpp = fb_var.bits_per_pixel;
This page took 0.04779 seconds and 3 git commands to generate.