Skip to content

Commit

Permalink
Fixed #2
Browse files Browse the repository at this point in the history
  • Loading branch information
robmikh committed Apr 5, 2016
1 parent 03e12be commit fb5a617
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CompositionImageLoader/ImageLoader.cs
Expand Up @@ -279,7 +279,8 @@ public ITextSurface CreateTextSurface(String text)

public async Task DrawSurface(CompositionDrawingSurface surface, Uri uri, Size size)
{
using (var canvasBitmap = await CanvasBitmap.LoadAsync(_canvasDevice, uri))
var canvasDevice = CanvasComposition.GetCanvasDevice(_graphicsDevice);
using (var canvasBitmap = await CanvasBitmap.LoadAsync(canvasDevice, uri))
{
var bitmapSize = canvasBitmap.Size;

Expand Down
6 changes: 3 additions & 3 deletions CompositionImageLoader/Properties/AssemblyInfo.cs
Expand Up @@ -24,7 +24,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.3.2")]
[assembly: AssemblyInformationalVersion("0.3.2-alpha")]
[assembly: AssemblyFileVersion("0.3.2.0")]
[assembly: AssemblyVersion("0.3.3")]
[assembly: AssemblyInformationalVersion("0.3.3-alpha")]
[assembly: AssemblyFileVersion("0.3.3.0")]
[assembly: ComVisible(false)]

0 comments on commit fb5a617

Please sign in to comment.