$| = 1;
$WIDTH = 1024;
$HEIGHT = 768;
- $SDLAPP = SDLx::App->new(-title => "Opengl App", -width => $WIDTH, -height => $HEIGHT, -gl => 1);
+ $SDLAPP = SDLx::App->new(title => "Opengl App", width => $WIDTH, height => $HEIGHT, gl => 1);
$SDLEVENT = SDL::Event->new;
</pre>
-<p>SDLx::App can start an OpenGL application with the parameter -gl => 1.</p>
+<p>SDLx::App can start an OpenGL application with the parameter gl => 1.</p>
<pre> glEnable(GL_DEPTH_TEST);
glMatrixMode(GL_PROJECTION);
glLoadIdentity;