Got RenderApi project to compile

This commit is contained in:
Yoshi Askharoun
2021-07-11 23:41:18 -05:00
parent dfb03d2ec5
commit c2a463bd0e
45 changed files with 96 additions and 91 deletions
@@ -30,7 +30,7 @@ namespace Microsoft.Iris.Render.Protocols.Splash.Desktop
RemoteInputRouter remoteInputRouter = new RemoteInputRouter(port, _priv_owner);
uint num = (uint)sizeof(RemoteInputRouter.Msg2_Create);
// ISSUE: untyped stack allocation
byte* pMem = (byte*)__untypedstackalloc(1 * (int)num);
byte* pMem = stackalloc byte[(int)num];
RemoteInputRouter.Msg2_Create* msg2CreatePtr = (RemoteInputRouter.Msg2_Create*)pMem;
msg2CreatePtr->_priv_size = num;
msg2CreatePtr->_priv_msgid = 2U;