grovesNL / glow

GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
Apache License 2.0
1.2k stars 130 forks source link

Use newtypes for native GL handles #180

Closed grovesNL closed 3 years ago

grovesNL commented 3 years ago

Fixes #178 and should help https://github.com/grovesNL/glow/issues/76#issuecomment-872806982

grovesNL commented 3 years ago

@kvark @rspencer01 would you like to review?

rspencer01 commented 3 years ago

That was fast! Was planning to get round to it this afternoon!

Looks good, catches my (silly) error at compile time. Very happy.

grovesNL commented 3 years ago

Great :) thanks for the reviews! bors r=kvark,rspencer01

bors[bot] commented 3 years ago

Build succeeded: