fb_accel_td: add missing getBackBufferPointer()

this fixes tuxtxt rendering problems
This commit is contained in:
Stefan Seyfried
2017-02-15 00:10:59 +01:00
committed by M. Liebmann
parent e8ec4540ca
commit 20a85c3874
2 changed files with 6 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ class CFbAccelTD
void paintLine(int xa, int ya, int xb, int yb, const fb_pixel_t col);
void blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32_t xoff, uint32_t yoff, uint32_t xp, uint32_t yp, bool transp);
void waitForIdle(const char *func = NULL);
fb_pixel_t * getBackBufferPointer() const;
void setBlendMode(uint8_t);
void setBlendLevel(int);
};

View File

@@ -202,3 +202,8 @@ void CFbAccelTD::setBlendLevel(int level)
if (level == 100) // sucks
usleep(20000);
}
fb_pixel_t *CFbAccelTD::getBackBufferPointer() const
{
return backbuffer;
}