summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-09-07 11:47:54 -0400
committerAdam Jackson <ajax@nwnk.net>2019-09-16 15:19:17 +0000
commit528d8eaec03d9b5ddc4a5eb5004138293ac10528 (patch)
tree6d737ae3394872bdaf35c04469c290ec5368569b
parent6a33d5354eaf4d1c9f7b5719d63592171599545f (diff)
glx-fbconfig-compliance: Drop accumulation buffer requirement
GL core contexts don't support glAccum and friends, and the GLX spec is expected to drop this requirement in a future update. Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--tests/glx/glx-fbconfig-compliance.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/glx/glx-fbconfig-compliance.c b/tests/glx/glx-fbconfig-compliance.c
index 5a19881ba..28f927fb8 100644
--- a/tests/glx/glx-fbconfig-compliance.c
+++ b/tests/glx/glx-fbconfig-compliance.c
@@ -47,7 +47,6 @@ config_is_sufficient(Display *dpy, GLXFBConfig config, int vdepth, int rgba)
int caveat;
int stencil;
int depth;
- int accum_red, accum_green, accum_blue;
int color_buffer_size;
int level;
@@ -59,9 +58,6 @@ config_is_sufficient(Display *dpy, GLXFBConfig config, int vdepth, int rgba)
GetFBConfigAttrib(dpy, config, GLX_BLUE_SIZE, &color_blue);
GetFBConfigAttrib(dpy, config, GLX_STENCIL_SIZE, &stencil);
GetFBConfigAttrib(dpy, config, GLX_DEPTH_SIZE, &depth);
- GetFBConfigAttrib(dpy, config, GLX_ACCUM_RED_SIZE, &accum_red);
- GetFBConfigAttrib(dpy, config, GLX_ACCUM_GREEN_SIZE, &accum_green);
- GetFBConfigAttrib(dpy, config, GLX_ACCUM_BLUE_SIZE, &accum_blue);
GetFBConfigAttrib(dpy, config, GLX_BUFFER_SIZE, &color_buffer_size);
GetFBConfigAttrib(dpy, config, GLX_LEVEL, &level);
@@ -101,11 +97,6 @@ config_is_sufficient(Display *dpy, GLXFBConfig config, int vdepth, int rgba)
return 0;
}
- /* must have an accumulation buffer */
- if ((accum_red + accum_green + accum_blue) < 1) {
- return 0;
- }
-
/* color depth must match deepest visual depth */
if (color_buffer_size != vdepth) {
return 0;