sciter-sdk / rust-sciter

Rust bindings for Sciter

Home Page:https://sciter.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to obtain current GL context under X11?

sztomi opened this issue · 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)