Created
May 29, 2011 17:39
-
-
Save Mpdreamz/997984 to your computer and use it in GitHub Desktop.
WPF force software rendering
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class App : Application | |
{ | |
protected override void OnStartup(StartupEventArgs e) | |
{ | |
RenderOptions.ProcessRenderMode = RenderMode.SoftwareOnly; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For .Net 3.5 SP1 you can use:
And also you can set it through the register