sciter-sdk/rust-sciter

How to obtain current GL context under X11?

sztomi opened this issue · 3 comments

I'm trying to port the opengl behavior example to Rust under X11: gist

This compiles, but glXGetCurrentContext always returns NULL, so none of the drawing actually runs. What am I doing wrong? Is there a sciter API to get the current context instead of the platform-specific one?

Yeah, thanks. I opened the other topic as well. I'd close this, but I see you added labels. Do you want to keep it open?

No preferences. Feel free to decide)