mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 02:34:00 +00:00
[client] egl: fix out by one error with letterbox rendering
This replaces the scaled `destRect` with a version that uses doubles correcting the rounding error that is causing a failure to properly clear the black bar areas.
This commit is contained in:
@@ -38,6 +38,11 @@ struct Rect
|
||||
int x, y, w, h;
|
||||
};
|
||||
|
||||
struct DoubleRect
|
||||
{
|
||||
double x, y, w, h;
|
||||
};
|
||||
|
||||
struct Border
|
||||
{
|
||||
int left, top, right, bottom;
|
||||
|
Reference in New Issue
Block a user