[Mesa-dev] [PATCH 1/4] mesa: Add a Version field to the context with VersionMajor*10+VersionMinor.

Olivier Galibert galibert at pobox.com
Fri Jul 27 08:05:43 PDT 2012

On Thu, Jul 26, 2012 at 05:27:43PM -0700, Eric Anholt wrote:
> As we get into supporting GL 3.x core, we come across more and more features
> of the API that depend on the version number as opposed to just the extension
> list.  This will let us more sanely do version checks than "(VersionMajor == 3
> && VersionMinor >= 2) || VersionMajor >= 4".

Pure bikeshedding, but why not use *100 in order to be identical to glsl?


More information about the mesa-dev mailing list