int bcm_accel_init(void)
{
- fb_fd = open("/dev/fb/0", O_RDWR);
+ fb_fd = open("/dev/fb0", O_RDWR);
if (fb_fd < 0)
{
- perror("/dev/fb/0");
+ perror("/dev/fb0");
return 1;
}
if (exec_list())
int m_number_of_pages;
int m_phys_mem;
#ifdef SWIG
- fbClass(const char *fb="/dev/fb/0");
+ fbClass(const char *fb="/dev/fb0");
~fbClass();
public:
#else
unsigned int Stride() { return stride; }
fb_cmap *CMAP() { return &cmap; }
- fbClass(const char *fb="/dev/fb/0");
+ fbClass(const char *fb="/dev/fb0");
~fbClass();
// low level gfx stuff