@@ -133,7 +133,6 @@ private:
EGLDisplay display_ = EGL_NO_DISPLAY;
EGLContext context_ = EGL_NO_CONTEXT;
- EGLSurface surface_ = EGL_NO_SURFACE;
int compileShader(int shaderType, GLuint &shaderId, Span<const unsigned char> shaderData,
Span<const std::string> shaderEnv);
@@ -57,11 +57,6 @@ LOG_DEFINE_CATEGORY(eGL)
*\brief EGL context handle
*/
-/**
- *\var eGL::surface_
- *\brief EGL sufrace handle
- */
-
/**
* \brief Construct an EGL helper
* \param[in] display The EGL display to use
@@ -84,9 +79,6 @@ eGL::~eGL()
{
if (context_ != EGL_NO_CONTEXT)
eglDestroyContext(display_, context_);
-
- if (surface_ != EGL_NO_SURFACE)
- eglDestroySurface(display_, surface_);
}
/**
This member has always been unused, so remove it. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> --- include/libcamera/internal/egl.h | 1 - src/libcamera/egl.cpp | 8 -------- 2 files changed, 9 deletions(-)