egl_dri2: Remove swrast version >= 2 checks
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 18 Jul 2012 17:08:49 +0000 (10:08 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 6 Aug 2012 22:37:04 +0000 (15:37 -0700)
commit05413ddb1da5d4f17b6da891fd2d76cff4947979
tree589608a026bc7bff5f12ba81c46a0e927ea51cb1
parent63adb6b9eaa723f6bf9603f3f567e04451df857e
egl_dri2: Remove swrast version >= 2 checks

Since support for swrast version 2 was added (f55d027a), it has also been
required.  In swrast_driver_extensions, version 2 is set for __DRI_SWRAST
extension.  Remove the spurious version checks sprinked through the code.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/egl/drivers/dri2/egl_dri2.c