Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Commit

Permalink
[DXGI] Fixed assembly compilation for WinRT platform by replacing old…
Browse files Browse the repository at this point in the history
… structures by their Raw* equivalents (#398).
  • Loading branch information
ArtiomCiumac committed Jun 4, 2014
1 parent 5dab7c1 commit c1124ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/SharpDX.DXGI/IVirtualSurfaceImageSourceNative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#if WIN8METRO
using System;
using System.Collections.Generic;
using System.Text;
using SharpDX.Mathematics.Interop;

namespace SharpDX.DXGI
{
Expand All @@ -32,12 +32,12 @@ public partial class IVirtualSurfaceImageSourceNative
/// <summary>
/// Gets the set of regions that must be updated on the shared surface.
/// </summary>
public Rectangle[] UpdateRectangles
public RawRectangle[] UpdateRectangles
{
get
{
int count = this.GetUpdateRectCount();
var regionToUpdate = new Rectangle[count];
var regionToUpdate = new RawRectangle[count];
this.GetUpdateRects(regionToUpdate, count);
return regionToUpdate;
}
Expand Down

0 comments on commit c1124ab

Please sign in to comment.