summaryrefslogtreecommitdiff
path: root/src/mesa/main/blend.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-09-09 15:53:55 -0700
committerEric Anholt <eric@anholt.net>2010-09-23 13:25:45 -0700
commit907a6734fcd427a6ac6fe5fcfbeac5d6054d82ae (patch)
treeab43a153223b5c110311ff36d1db7003e06f35e5 /src/mesa/main/blend.c
parent96da9b28c838af00f15d6c0a5973857019d3aecc (diff)
mesa: Remove the non-required ARB_imaging extension.
Many of the EXT_ extensions in the subset have significant code overhead with no users. It is not a required part of GL -- though text describing the extension is part of the core spec since 1.2, it is always conditional on the ARB_imaging extension.
Diffstat (limited to 'src/mesa/main/blend.c')
-rw-r--r--src/mesa/main/blend.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c
index d022770f24..736a94c052 100644
--- a/src/mesa/main/blend.c
+++ b/src/mesa/main/blend.c
@@ -215,8 +215,7 @@ _mesa_validate_blend_equation( GLcontext *ctx,
break;
case GL_MIN:
case GL_MAX:
- if (!ctx->Extensions.EXT_blend_minmax &&
- !ctx->Extensions.ARB_imaging) {
+ if (!ctx->Extensions.EXT_blend_minmax) {
return GL_FALSE;
}
break;
@@ -229,8 +228,7 @@ _mesa_validate_blend_equation( GLcontext *ctx,
break;
case GL_FUNC_SUBTRACT:
case GL_FUNC_REVERSE_SUBTRACT:
- if (!ctx->Extensions.EXT_blend_subtract &&
- !ctx->Extensions.ARB_imaging) {
+ if (!ctx->Extensions.EXT_blend_subtract) {
return GL_FALSE;
}
break;