InputRoll: Implement proper double buffering (improves gdi+ inputroll performance by a factor of 8 or 9 on my machine)

This commit is contained in:
Asnivor 2019-10-21 10:04:23 +01:00 committed by adelikat
parent 7b7e9a269a
commit 2e8d7346c3
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ namespace BizHawk.Client.EmuHawk
SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
SetStyle(ControlStyles.Opaque, true);
SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
//_renderer = new GdiRenderer();
_renderer = new GdiPlusRenderer();