On 11/14/2014 12:44 PM, Jose Fonseca wrote:
I'd probably put the version checking logic into a helper function, but
not a big deal.
Any suggestion to where put such helper? I'm searching but I'm not confident
where's the best place to put it so that it can be used everywhere.
Would src/mesa/main/version.[ch] be ok? This would at least be good enough for
st/glx and st/wgl. Like:
boolean
_mesa_is_valid_opengl_version(int major, int minor)
boolean
_mesa_is_valid_opengl_es_version()
Yeah, I'd put it in version.[ch]
-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev