GL: Implement more Point parameters (#1399)
* Fix GL_INVALID_VALUE on glPointSize calls * Implement more of Point primitive state * Use existing Origin enum
This commit is contained in:
parent
1c84b683c2
commit
723ae240dc
5 changed files with 49 additions and 7 deletions
|
@ -173,6 +173,11 @@ namespace Ryujinx.Graphics.Gpu.State
|
|||
{
|
||||
Set(MethodOffset.BlendState, index, BlendState.Default);
|
||||
}
|
||||
|
||||
// Default Point Parameters
|
||||
memory[(int)MethodOffset.PointSpriteEnable] = 1;
|
||||
memory[(int)MethodOffset.PointSize] = 0x3F800000; // 1.0f
|
||||
memory[(int)MethodOffset.PointCoordReplace] = 0x8; // Enable
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue