mirror of
https://github.com/ZuneDev/Xune.git
synced 2026-07-27 13:13:10 -07:00
Got RenderApi project to compile
This commit is contained in:
+2
-2
@@ -35,14 +35,14 @@ namespace Microsoft.Iris.Render.Protocols.Splash.Rendering
|
||||
|
||||
public override int GetHashCode() => base.GetHashCode();
|
||||
|
||||
internal static RENDERHANDLE BindCallback(RenderPort port) => port.RegisterCallback(new PortCallback(DispatchCallback), out uint _);
|
||||
internal static unsafe RENDERHANDLE BindCallback(RenderPort port) => port.RegisterCallback(new PortCallback(DispatchCallback), out uint _);
|
||||
|
||||
private static unsafe void DispatchCallback(
|
||||
RenderPort port,
|
||||
IRenderHandleOwner owner,
|
||||
CallbackMessage* message)
|
||||
{
|
||||
if (!(owner is IVideoPoolCallback _priv_target))
|
||||
if (owner is not IVideoPoolCallback _priv_target)
|
||||
return;
|
||||
switch (message->nMsg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user