Skip to content

Commit

Permalink
fix _glSharedContext comments (#2185)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkast authored Jan 13, 2025
1 parent 64027fe commit d69c5d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ internal ConcreteGraphicsContext(GraphicsContext context)
if (_glDisposeContext != null && _glDisposeContext != EGL10.EglNoContext)
throw new Exception("Could not create _glDisposeContext" + GL.GetEglErrorAsString());

// create _glDisposeContext for Disposing GL objects from GC Finalizer thread.
// create _glSharedContext for creating and setting data on buffers and textures from threads.
_glSharedContext = GL.Egl.EglCreateContext(EGL10.EglNoDisplay, cgd.EglConfig, this.EglContext, attribs);
if (_glSharedContext != null && _glSharedContext != EGL10.EglNoContext)
throw new Exception("Could not create _glSharedContext" + GL.GetEglErrorAsString());
Expand Down

0 comments on commit d69c5d7

Please sign in to comment.