Deleted Added
full compact
2c2
< * Copyright (c) 1991-1997 S�ren Schmidt
---
> * Copyright (c) 1991-1997 S��ren Schmidt
28c28
< * $FreeBSD: head/share/examples/libvgl/demo.c 97748 2002-06-02 20:05:59Z schweikh $
---
> * $FreeBSD: head/share/examples/libvgl/demo.c 222175 2011-05-22 14:03:21Z uqs $
45,47c45,47
< // SW_VGA_CG320: std VGA 320x200 256 colors
< // SW_VGA_MODEX: Modex VGA 320x240 256 colors
< // SW_VGA_VG640: std VGA 640x480 16 colors
---
> // SW_VGA_CG320: std VGA 320x200 256 colors
> // SW_VGA_MODEX: Modex VGA 320x240 256 colors
> // SW_VGA_VG640: std VGA 640x480 16 colors
53c53
< // VGLDisplay is a ptr to a struct Bitmap defined and initialized by
---
> // VGLDisplay is a ptr to a struct Bitmap defined and initialized by
64c64
< for (y=0; y<ysize; y++)
---
> for (y=0; y<ysize; y++)
75c75
< // some text is also usefull
---
> // some text is also useful
89c89
< // now show some simple bitblit
---
> // now show some simple bitblit
109,110c109,110
< VGLDisplay, rand()%xsize, rand()%ysize,
< rand()%xsize, rand()%ysize);
---
> VGLDisplay, rand()%xsize, rand()%ysize,
> rand()%xsize, rand()%ysize);
114c114
< rand()%xsize/2, rand()%ysize/2, rand()%256);
---
> rand()%xsize/2, rand()%ysize/2, rand()%256);
123d122
<