X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-OpenGL.html-inc;h=b17707ecf929b0526570b0bf340d081cc5cef97b;hb=46beffd8f76fe150d946bf61c780e61de2affbdf;hp=c6bb4982c4bcbf1ad692141c7568285abab61343;hpb=fb9a1059a3ae94fef524dd61166ec3e7f8f5a6ef;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-OpenGL.html-inc b/pages/SDL-OpenGL.html-inc index c6bb498..b17707e 100644 --- a/pages/SDL-OpenGL.html-inc +++ b/pages/SDL-OpenGL.html-inc @@ -25,7 +25,7 @@

DESCRIPTION

Top

-

SDL::OpenGL is a perl module which when used by your application +

SDL::OpenGL is a perl module which when used by your application exports the gl* and glu* functions into your application's primary namespace. Most of the functions described in the OpenGL 1.3 specification are currently supported in this fashion. As the implementation of the OpenGL bindings that @@ -48,7 +48,7 @@ to types.

numbers, the Perl equivalent only takes a list of numbers.

Note that this is slow, since it needs to allocate memory and construct a list of numbers from the given scalars. For a faster version see -glCallListsString.

+glCallListsString.

The following methods exist in addition to the normal OpenGL specification:

@@ -58,7 +58,7 @@ list of numbers from the given scalars. For a faster version see
        glCallListsString($string);
 
 
-

Works like glCallLists(), except that it needs only one parameter, a scalar +

Works like glCallLists(), except that it needs only one parameter, a scalar holding a string. The string is interpreted as a set of bytes, and each of these will be passed to glCallLists as GL_BYTE. This is faster than glCallLists, so you might want to pack your data like this:

@@ -80,7 +80,7 @@ glCallLists, so you might want to pack your data like this:

SEE ALSO

Top

-

perl SDL::App

+

perl SDL::App

\ No newline at end of file