Skip to content

Commit

Permalink
Merge pull request MonoGame#982 from Aranda/android_texture_reload_fix
Browse files Browse the repository at this point in the history
Fix for black textures after resume on Android
  • Loading branch information
KonajuGames committed Nov 14, 2012
2 parents 8cb0ec0 + 2c69434 commit 1d2590b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MonoGame.Framework/Graphics/GraphicsDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1164,6 +1164,8 @@ internal void OnDeviceResetting()
{
if (DeviceResetting != null)
DeviceResetting(this, EventArgs.Empty);

GraphicsResource.DoGraphicsDeviceResetting();
}

/// <summary>
Expand All @@ -1174,7 +1176,6 @@ internal void OnDeviceReset()
{
if (DeviceReset != null)
DeviceReset(this, EventArgs.Empty);
GraphicsResource.DoGraphicsDeviceResetting();
}

public DisplayMode DisplayMode
Expand Down

0 comments on commit 1d2590b

Please sign in to comment.