Browse Source
Fixed OpenGlControlBase render rect.
pull/8728/head
José Pedro
4 years ago
No known key found for this signature in database
GPG Key ID: B8247B9301707B83
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.OpenGL/Controls/OpenGlControlBase.cs
|
|
|
@ -34,7 +34,7 @@ namespace Avalonia.OpenGL.Controls |
|
|
|
_attachment.Present(); |
|
|
|
} |
|
|
|
|
|
|
|
context.DrawImage(_bitmap, new Rect(_bitmap.Size), Bounds); |
|
|
|
context.DrawImage(_bitmap, new Rect(_bitmap.Size), new Rect(Bounds.Size)); |
|
|
|
base.Render(context); |
|
|
|
} |
|
|
|
|
|
|
|
|