mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
fix DrawPixel
This commit is contained in:
parent
6c5b65ed82
commit
8b16c0b490
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user