NAME

OpenGL::Sandbox::ContextShim::SDL - Create OpenGL context with SDLx::App

VERSION

version 0.120

DESCRIPTION

This class is loaded automatically if needed by "make_context" in OpenGL::Sandbox. It uses SDLx::App to create an OpenGL context.

ATTRIBUTES

sdl

The SDLx::App object

METHODS

Standard ContextShim API:

new

Accepting all the options of "make_context" in OpenGL::Sandbox

context_info
swap_buffers

AUTHOR

Michael Conrad <mike@nrdvana.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Michael Conrad.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.