Fix #8750: [OpenGL] Line drawing did not set proper RGB/mask colours.

This commit is contained in:
Michael Lutz
2021-02-27 12:52:19 +01:00
parent 54fb4c04e3
commit ef4cec9382
2 changed files with 19 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ public:
// void *MoveTo(void *video, int x, int y) override;
void SetPixel(void *video, int x, int y, uint8 colour) override;
void DrawRect(void *video, int width, int height, uint8 colour) override;
void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour, int width, int dash) override;
void CopyFromBuffer(void *video, const void *src, int width, int height) override;
void CopyToBuffer(const void *video, void *dst, int width, int height) override;
void CopyImageToBuffer(const void *video, void *dst, int width, int height, int dst_pitch) override;