diff --git a/client/renderers/EGL/egl.c b/client/renderers/EGL/egl.c index ff7c52d2..5e08ec50 100644 --- a/client/renderers/EGL/egl.c +++ b/client/renderers/EGL/egl.c @@ -87,7 +87,7 @@ struct Inst int width, height; float uiScale; - LG_RendererRect destRect; + struct DoubleRect destRect; LG_RendererRotate rotate; //client side rotation float translateX , translateY; diff --git a/common/include/common/types.h b/common/include/common/types.h index b308dd4e..d067883c 100644 --- a/common/include/common/types.h +++ b/common/include/common/types.h @@ -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;