Skip to content

Commit

Permalink
[Direct3D11] Fix exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
jwollen committed Jul 11, 2015
1 parent ce817f7 commit 78995af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SharpDX.Direct3D11/DeviceContext.RasterizerStage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public T[] GetScissorRectangles<T>() where T : struct
public unsafe void GetScissorRectangles<T>(T[] scissorRectangles) where T : struct
{
if (Utilities.SizeOf<T>() != Utilities.SizeOf<RawRectangle>())
throw new ArgumentException("Type T must have same size and layout as RawRectangle", "viewports");
throw new ArgumentException("Type T must have same size and layout as RawRectangle", "scissorRectangles");

int numRects = scissorRectangles.Length;
void* pBuffer = Interop.Fixed(scissorRectangles);
Expand Down

0 comments on commit 78995af

Please sign in to comment.