-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing CGL native context #102
Comments
@jasongrlicky note that WGL's details are also private: I don't have a problem with making them |
Not really, that works for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: