[Mesa-dev] [PATCH 1/4] mesa: Add a Version field to the context with VersionMajor*10+VersionMinor.
Brian Paul
brian.e.paul at gmail.com
Thu Jul 26 17:49:11 PDT 2012
On Thu, Jul 26, 2012 at 6:27 PM, Eric Anholt <eric at anholt.net> 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".
The series looks good to me. Can we just get rid of VersionMajor and
VersionMinor? The get.c code may be the only use of them (but I
haven't looked in detail).
-Brian
More information about the mesa-dev
mailing list