fna-workbench

fna-workbench Commit Details


Date:2016-02-08 22:14:24 (9 years 1 month ago)
Author:Ethan Lee
Branch:master
Commit:77485076f6398292d91afc9fd00cc73704f23a3f
Parents: a11060dcbbbdcb11c011deedfa40d80f54d0ea42
Message:Remove GraphicsProfile check

Changes:

File differences

src/Graphics/Vertices/IndexBuffer.cs
296296
297297
298298
299
300
301
302
303
304
305
306299
307300
308301
}
if (sizeInBytes == 4)
{
if (graphicsDevice.GraphicsProfile == GraphicsProfile.Reach)
{
throw new NotSupportedException(
"The profile does not support an elementSize of IndexElementSize.ThirtyTwoBits; " +
"use IndexElementSize.SixteenBits or a type that has a size of two bytes."
);
}
return IndexElementSize.ThirtyTwoBits;
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.07665s using 13 queries.