gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.36k stars 547 forks source link

[gl] Add Instance struct in web version to align API with other backends. #3506

Closed VincentJousse closed 3 years ago

VincentJousse commented 3 years ago

PR checklist:

VincentJousse commented 3 years ago

I did not prevent create_surface() from creating one more surface when one already exists since no Error seems to be relevant.

VincentJousse commented 3 years ago

My pleasure !

bors[bot] commented 3 years ago

Build succeeded: