The error message you get is unhelpful because $! is not set by SDL::Video, nor is it documented to do so. The SDL::Video documentation on set_video_mode tells you to retrieve the error message using SDL::get_error.
In reply to Re: Setting Video Mode in SDL
by Corion
in thread Setting Video Mode in SDL
by SomeNetworkGuy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |