Commit graph

2 commits

Author SHA1 Message Date
Simon Hausmann
0b6beb081b Minor fixup to the C++ rendering notifier API
Add the graphics state enum to the callback, too. When we add support for different backends,
it would be nice if it didn't require an API change.

 It's duplicated from Rust
because it doesn't provide values. The WebLG one doesn't make sense for C++ and
the proc address closure isn't ffi safe.

(It could be manually bridged thought)
2022-02-07 08:50:09 +01:00
Simon Hausmann
0e6b4080d6 Add a Rust example that demonstrates GL rendering under a scene 2022-02-04 15:41:53 +01:00