Perl-GPU / OpenGL-Modern

Perl OpenGL bindings for modern OpenGL 3.1-4.x
7 stars 5 forks source link

auto-called glewInit should catch and croak on errors #36

Closed wchristian closed 1 day ago

wchristian commented 7 years ago

As of #24 the user doesn't need to call glewInit themselves, and it'll be called on its own the first time a GL function is called. However as of now the function is simply called and its return value completely ignored.

Thus auto-called glewInit should also catch and croak on errors.