Ilia Mirkin <imir...@alum.mit.edu> writes: >> + if (ctx->Version >= 30 || ctx->Extensions.EXT_texture_integer) { > > Just ctx->Extensions.EXT_texture_integer should be enough here, no?
I'm reluctant to change this because every other place in the code that checks for integer textures does it in the same way. Perhaps if we wanted to change it then we should do it in a separate patch and change it everywhere. I think it might theoretically make sense to expose GL 3 without GL_EXT_texture_integer in some cases because the extension implies supporting luminance integer textures whereas GL 3 does not. This bit of code implies that Mesa treats the two types of support for integer textures distinctly: http://is.gd/HM3SIw Regards, - Neil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev