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? OG. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev