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
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] SF.net SVN: alleg:[13158] allegro/branches/4.9/src/opengl/extensions.c
- From: Evert Glebbeek <eglebbk@xxxxxxxxxx>
- Date: Tue, 30 Mar 2010 16:02:43 -0400
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