Fix name for WindowN

This commit is contained in:
plutooo 2018-04-15 19:35:22 +02:00
parent ad473cce01
commit f06eac773c
2 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,8 @@ enum {
NvReg3D_ViewportNVertical= 0x301, NvReg3D_ViewportNVertical= 0x301,
NvReg3D_ViewportNDepthRangeNear= 0x302, NvReg3D_ViewportNDepthRangeNear= 0x302,
NvReg3D_ViewportNDepthRangeFar= 0x303, NvReg3D_ViewportNDepthRangeFar= 0x303,
NvReg3D_ClipRectNHorizontal = 0x340, NvReg3D_WindowNHorizontal = 0x340,
NvReg3D_ClipRectNVertical = 0x341, NvReg3D_WindowNVertical = 0x341,
NvReg3D_CallLimitLog = 0x359, NvReg3D_CallLimitLog = 0x359,
NvReg3D_ClearColor = 0x360, NvReg3D_ClearColor = 0x360,
NvReg3D_PrimRestartWithDrawArrays = 0x37a, NvReg3D_PrimRestartWithDrawArrays = 0x37a,

View File

@ -21,7 +21,7 @@ Result vnInit3D(Vn* vn) {
NvImm(0, 0x43c, 4), NvImm(0, 0x43c, 4),
NvImm(0, 0x1d3, 0x3f), NvImm(0, 0x1d3, 0x3f),
// //
NvIncr(0, NvReg3D_ClipRectNHorizontal, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), NvIncr(0, NvReg3D_WindowNHorizontal, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
NvImm(0, NvReg3D_ClearFlags, 0x101)); NvImm(0, NvReg3D_ClearFlags, 0x101));
size_t i; size_t i;