Re: [AD] SF.net SVN: alleg:[13158] allegro/branches/4.9/src/opengl/extensions.c

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 30 Mar 2010, at 16:55 , Milan Mimica wrote:
> The docs say:
>        The GL_VERSION string begins with a version number.  The version number
>        uses one of these forms:
> 
>        major_number.minor_number
>        major_number.minor_number.release_number
> 
>        Vendor-specific  information  may follow the version number. Its format
>        depends on the implementation, but a space always separates the version
>        number and the vendor-specific information.
> 
> So there may be garbage after the first two or three digits.

Shouldn't matter. It'll just be ignored. If you're worried about that, you can duplicate the string and terminate it by hand after the last digit.

Evert



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/