Load opengl context in a x11 window

Hi, I'm trying to load a OpenGl context in custom x11 window, but not find any example in rust, any one knows something about that?
I'm using x11rb and x11 crates and trying porting this example https://github.com/datenwolf/codesamples/blob/master/samples/OpenGL/x11argb_opengl_glsl/x11argb_opengl_glsl.c

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.