Skip to content

Commit

Permalink
wip opencl compute
Browse files Browse the repository at this point in the history
  • Loading branch information
Russ committed Nov 27, 2023
1 parent 0951fa1 commit 0bd2c37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UI/macOS/OpenGLLayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public override void DrawInCGLContext(OpenGL.CGLContext glContext, CGLPixelForma
if ( ComputeContext == null)
{
ComputeContext = GPU.OpenCL.Compute.Context.CreateContext(RenderContext);
PlayerWindow.OnComputeInit(ComputeContext);
}

PlayerWindow.OnRenderFrame(timeInterval);
Expand Down

0 comments on commit 0bd2c37

Please sign in to comment.