Skip to content

Commit

Permalink
Better message and change log.
Browse files Browse the repository at this point in the history
  • Loading branch information
BleuBleu committed Mar 17, 2021
1 parent 656140b commit 94c04a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Fixes:

* Fixed corruption when importing looping samples from .FTI files.
* Fixed minor graphical issue in piano roll.
* Fixed issues on Windows 7 installations that are missing some D3D11 components such as KB2670838.
* Removed 320 kbps MP3 export option since it creates choppy audio.

## Version 2.4.0
Expand Down
3 changes: 2 additions & 1 deletion FamiStudio/Source/UI/Windows/Direct2DGraphics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,9 @@ private Direct2DOffscreenGraphics(int imageSizeX, int imageSizeY)
CreateFactory();
renderTarget = new RenderTarget(factory, offscreenTexture.QueryInterface<SharpDX.DXGI.Surface>(), new RenderTargetProperties(new SharpDX.Direct2D1.PixelFormat(Format.Unknown, AlphaMode.Premultiplied)));
}
catch
catch (Exception e)
{
Log.LogMessage(LogSeverity.Error, e.Message);
Log.LogMessage(LogSeverity.Error, "Error initializing D3D11. This can happen on Windows 7 system that are missing some D3D11 components such as the KB2670838 update.");
return;
}
Expand Down

0 comments on commit 94c04a9

Please sign in to comment.