mesa: Add custom get function for SCISSOR_TEST to _mesa_IsEnabledi
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 13 Nov 2013 20:22:39 +0000 (13:22 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:32:00 +0000 (11:32 -0800)
commit917db0bc3dfdec1536018d96aab261e485b8d872
treef4b265940c8bd5ca3d75d03eabbc2b62a4077dff
parent6d9c0011a05a2137ca40fa9ed720520fcc29578f
mesa: Add custom get function for SCISSOR_TEST to _mesa_IsEnabledi

Now that the scissor enable state is a bitfield need a custom function
to extract the correct value from gl_context.  Modeled
Scissor.EnableFlags after Color.BlendEnabled.

Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/enable.c