gtk-rs / gtk

DEPRECATED, use https://github.com/gtk-rs/gtk3-rs repository instead!
https://gtk-rs.org/
MIT License
1.25k stars 82 forks source link

GLArea and OpenGL #1078

Closed RustUser closed 3 years ago

RustUser commented 3 years ago

I have been looking at the documentation, and all of the GLArea documentation has a short example, however it appears to be in C. I was looking at the gl crate to see if there was any way I could tie in the GLContext from the GLArea, but was unsuccessful.

I'm trying to fish through and find a way to link OpenGL to the GLArea, but am not finding much. I apologise if the question is vague, but all help is appreciated.