Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/MP1-5025_Calculation_of_…
Browse files Browse the repository at this point in the history
…image_borders_is_incorrect' into MP_1.25_Final_v2
  • Loading branch information
Azzuro committed May 18, 2020
2 parents 8ece276 + aa71cee commit ecc7bbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mediaportal/Core/guilib/GUIImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1980,6 +1980,11 @@ private void DrawBorder(bool flip)
int cuLeft = 0, cvLeft = 0, cumaxLeft = 0, cvmaxLeft = 0; // Left corner texture coordinates
int cuRight = 0, cvRight = 0, cumaxRight = 0, cvmaxRight = 0; // Right corner texture coordinates

GUIGraphicsContext.ScaleHorizontal(ref bl);
GUIGraphicsContext.ScaleHorizontal(ref br);
GUIGraphicsContext.ScaleVertical(ref bt);
GUIGraphicsContext.ScaleVertical(ref bb);

TextureFrame texture = null;
TextureFrame cornerTexture = null;
uint mergedBorderColorKey = GUIGraphicsContext.MergeAlpha((uint)_borderColorKey);
Expand Down

0 comments on commit ecc7bbd

Please sign in to comment.