wayland: Drop QWaylandGLContext::getProcAddress()

It's the same as getProcAddress() in the QEGLPlatformContext class.

Change-Id: I7b66a953f77bde0bf188718e234ba362e055fe4d
Reviewed-by: David Redondo <qt@david-redondo.de>
This commit is contained in:
Vlad Zahorodnii 2025-09-03 15:59:16 +03:00
parent a895b929d2
commit c15c67ed2f
2 changed files with 0 additions and 10 deletions

View File

@ -417,14 +417,6 @@ GLuint QWaylandGLContext::defaultFramebufferObject(QPlatformSurface *surface) co
return static_cast<QWaylandEglWindow *>(surface)->contentFBO();
}
QFunctionPointer QWaylandGLContext::getProcAddress(const char *procName)
{
QFunctionPointer proc = (QFunctionPointer) eglGetProcAddress(procName);
if (!proc)
proc = (QFunctionPointer) dlsym(RTLD_DEFAULT, procName);
return proc;
}
EGLSurface QWaylandGLContext::eglSurfaceForPlatformSurface(QPlatformSurface *surface)
{
return static_cast<QWaylandEglWindow *>(surface)->eglSurface();

View File

@ -47,8 +47,6 @@ public:
GLuint defaultFramebufferObject(QPlatformSurface *surface) const override;
QFunctionPointer getProcAddress(const char *procName) override;
protected:
EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface) override;
EGLSurface createTemporaryOffscreenSurface() override;