You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! I'm investigating using this library for a hardware-accelerated image processing library I'm working on, and one of my requirements is that I'm able to get access the native context for each platform I'm deploying on. It seems like the way to do that here is to use GLContext's .handle() method here, and to access the struct's members from there.
However, I ran into a problem when doing this on macOS - I can't figure out a way to actually access the underlying CGLContextObj. I'm pretty new to this library, but it seems that in order to access the native context object, in src/platform/with_cgl/native_gl_context.rs:
pubstructNativeGLContextHandle(CGLContextObj);
should be:
pubstructNativeGLContextHandle(pubCGLContextObj);
Does this make sense, or is there something I'm missing? Thanks so much!
The text was updated successfully, but these errors were encountered:
Hi there! I'm investigating using this library for a hardware-accelerated image processing library I'm working on, and one of my requirements is that I'm able to get access the native context for each platform I'm deploying on. It seems like the way to do that here is to use
GLContext
's.handle()
method here, and to access the struct's members from there.However, I ran into a problem when doing this on macOS - I can't figure out a way to actually access the underlying
CGLContextObj
. I'm pretty new to this library, but it seems that in order to access the native context object, insrc/platform/with_cgl/native_gl_context.rs
:should be:
Does this make sense, or is there something I'm missing? Thanks so much!
The text was updated successfully, but these errors were encountered: