fix DrawPixel

This commit is contained in:
jojo61 2019-01-04 10:15:51 +01:00
parent 6c5b65ed82
commit 8b16c0b490
1 changed files with 5 additions and 1 deletions

View File

@ -1786,7 +1786,11 @@ void cOglPixmap::DrawImage(const cPoint &Point, int ImageHandle) {
}
void cOglPixmap::DrawPixel(const cPoint &Point, tColor Color) {
esyslog("[softhddev] DrawPixel %d %d color %x not implemented in OpenGl OSD", Point.X(), Point.X(), Color);
cRect r(Point.X(), Point.Y(), 1, 1);
oglThread->DoCmd(new cOglCmdDrawRectangle(fb, r.X(), r.Y(), r.Width(), r.Height(), Color));
SetDirty();
MarkDrawPortDirty(r);
}
void cOglPixmap::DrawBitmap(const cPoint &Point, const cBitmap &Bitmap, tColor ColorFg, tColor ColorBg, bool Overlay) {