comparison Renderer/Engine/fb.h @ 988:0b6f8c82625a akira

fix for double buffer
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 02 Oct 2010 03:48:39 +0900
parents a193a851b5e3
children
comparison
equal deleted inserted replaced
987:5eb651827ae3 988:0b6f8c82625a
1 #ifndef FB_H 1 #ifndef FB_H
2 #define FB_H 2 #define FB_H
3 3
4 #include "types.h"
4 #if defined(__linux__) 5 #if defined(__linux__)
5 6
6 #include <unistd.h> 7 #include <unistd.h>
7 #include <stdio.h> 8 #include <stdio.h>
8 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <linux/fs.h> 11 #include <linux/fs.h>
11 #include <sys/mman.h> 12 #include <sys/mman.h>
12 #include <sys/ioctl.h> 13 #include <sys/ioctl.h>
13 #include <stdlib.h> 14 #include <stdlib.h>
14 #include <iostream> 15 #include <iostream>
15 #include "types.h"
16 using namespace std; 16 using namespace std;
17 17
18 18
19 /* function prototype */ 19 /* function prototype */
20 void send_current_error_msg(const char *ptr); 20 void send_current_error_msg(const char *ptr);