diff options
Diffstat (limited to 'src/egl/main/eglimage.c')
-rw-r--r-- | src/egl/main/eglimage.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c index ef4a68f2367..9df6b6511d5 100644 --- a/src/egl/main/eglimage.c +++ b/src/egl/main/eglimage.c @@ -265,25 +265,6 @@ _eglParseEXTImageDmaBufImportModifiersAttribs(_EGLImageAttribs *attrs, return EGL_SUCCESS; } -static EGLint -_eglParseEXTImageFlushExternalAttribs(_EGLImageAttribs *attrs, - _EGLDisplay *disp, - EGLint attr, EGLint val) -{ - if (!disp->Extensions.EXT_image_flush_external) - return EGL_BAD_PARAMETER; - - switch (attr) { - case EGL_IMAGE_EXTERNAL_FLUSH_EXT: - attrs->ImageFlushExternal = val; - break; - default: - return EGL_BAD_PARAMETER; - } - - return EGL_SUCCESS; -} - /** * Parse the list of image attributes. * @@ -305,10 +286,6 @@ _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *disp, EGLint attr = attrib_list[i++]; EGLint val = attrib_list[i]; - err = _eglParseEXTImageFlushExternalAttribs(attrs, disp, attr, val); - if (err == EGL_SUCCESS) - continue; - err = _eglParseKHRImageAttribs(attrs, disp, attr, val); if (err == EGL_SUCCESS) continue; |