Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/fb.h @ 981:a193a851b5e3
add double buffering frame device
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 30 Sep 2010 23:54:08 +0900 |
parents | 3d19bc6424d0 |
children | 0b6f8c82625a |
line wrap: on
line diff
--- a/Renderer/Engine/fb.h Thu Sep 30 22:50:35 2010 +0900 +++ b/Renderer/Engine/fb.h Thu Sep 30 23:54:08 2010 +0900 @@ -12,6 +12,7 @@ #include <sys/ioctl.h> #include <stdlib.h> #include <iostream> +#include "types.h" using namespace std; @@ -23,7 +24,7 @@ typedef struct screen_info { int xres,yres,vbpp,line_len; - char *fbptr; + uint32_t *fbptr[2]; } ScreenInfo , *ScreenInfoPtr;