X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-Cookbook-OpenGL.html-inc;h=a0794dfe89523e2fb302551f59f868b952992ca0;hb=d5943b684b1240307fbf0a103abbf18dd93998f4;hp=663bfd409784a02e040d04be0fe2ffd26edead7a;hpb=801213bdc2b379a428fdebad07e9d404cec99a06;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-Cookbook-OpenGL.html-inc b/pages/SDL-Cookbook-OpenGL.html-inc index 663bfd4..a0794df 100644 --- a/pages/SDL-Cookbook-OpenGL.html-inc +++ b/pages/SDL-Cookbook-OpenGL.html-inc @@ -8,7 +8,8 @@ -
  • SEE ALSO +
  • SEE ALSO
  • +
  • AUTHORS

  • @@ -52,11 +53,11 @@ $| = 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; -

    SDLx::App can start an OpenGL application with the parameter -gl => 1.

    +

    SDLx::App can start an OpenGL application with the parameter gl => 1.

    	glEnable(GL_DEPTH_TEST);
     	glMatrixMode(GL_PROJECTION);
     	glLoadIdentity;
    @@ -151,4 +152,13 @@
     

    perl SDLx::App OpenGL

    +

    AUTHORS

    Top

    +
    +

    See AUTHORS in SDL.

    + + + + + +
    \ No newline at end of file