changed raspi to own thread class

This commit is contained in:
smogm
2015-01-12 20:36:56 +01:00
parent 9ed0a0d244
commit 467f6976f7
4 changed files with 13 additions and 14 deletions

View File

@@ -17,11 +17,11 @@
#ifndef __glthread__
#define __glthread__
#include <OpenThreads/Thread>
#include <thread_abstraction.h>
#include <vector>
#include <linux/fb.h> /* for screeninfo etc. */
class GLFramebuffer : public OpenThreads::Thread
class GLFramebuffer : public Thread
{
public:
GLFramebuffer(int x, int y);
@@ -34,7 +34,7 @@ private:
void *pdata; /* not yet used */
fb_var_screeninfo si;
std::vector<unsigned char> osd_buf; /* silly bounce buffer */
void run(); /* for OpenThreads::Thread */
void run(); /* for Thread */
void setup();
void blit_osd();