diff options
author | Brian Paul <[email protected]> | 2009-10-22 16:33:36 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-22 16:52:59 -0600 |
commit | ea659f891740fab1943eca219ffbdd5ed3d1906c (patch) | |
tree | a41c83444dcfe5cb205cfa25997973484151ed55 /src/mesa/drivers/dri/i915 | |
parent | f9bbbe5803a72eceb8ed6ddc73bb48c8bcdc0179 (diff) |
intel: Fallback field is a bitmask, use GLbitfield
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_tris.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tris.c b/src/mesa/drivers/dri/i915/intel_tris.c index a905455342d..bc6b29281ab 100644 --- a/src/mesa/drivers/dri/i915/intel_tris.c +++ b/src/mesa/drivers/dri/i915/intel_tris.c @@ -1194,12 +1194,16 @@ getFallbackString(GLuint bit) +/** + * Enable/disable a fallback flag. + * \param bit one of INTEL_FALLBACK_x flags. + */ void -intelFallback(struct intel_context *intel, GLuint bit, GLboolean mode) +intelFallback(struct intel_context *intel, GLbitfield bit, GLboolean mode) { GLcontext *ctx = &intel->ctx; TNLcontext *tnl = TNL_CONTEXT(ctx); - GLuint oldfallback = intel->Fallback; + const GLbitfield oldfallback = intel->Fallback; if (mode) { intel->Fallback |= bit; |